Part Number Hot Search : 
NL2016 SFF804 A1698 ILE4268 AN1356 1660CT S20K275 XC5215
Product Description
Full Text Search
 

To Download MB90672 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ds07-13602-4e fujitsu semiconductor data sheet 16-bit proprietary microcontroller cmos f 2 mc-16l mb90670/675 series mb90671/672/673/t673/p673 (mb90670 series) mb90676/677/678/t678/p678 (mb90675 series) n description the mb90670/675 series is a member of 16-bit proprietary single-chip microcontroller f 2 mc* 1 -16l family designed to be combined with an asic (application specific ic) core. the mb90670/675 series is a high- performance general-purpose 16-bit microcontroller for high-speed real-time processing in various industrial equipment, oa equipment, and process control. the instruction set of f 2 mc-16l cpu core inherits at architecture of f 2 mc-8 family with additional instruction sets for high-level languages, extended addressing mode, enhanced multiplication/division instructions, and enhanced bit manipulation instructions. the microcontroller has a 32-bit accumulator for processing long word data (32-bit). the mb90670/675 series has peripheral resources of uart0, uart1(sci), an 8/10-bit a/d converter, an 8/16-bit ppg timer, a 16-bit reload timer, a 24-bit free-run timer, an output compare (ocu), an input capture (icu), dtp/external interrupt circuit, an i 2 c* 2 interface (in mb90675 series only). embedded peripheral resources performs data transmission with an intelligent i/o service function without the intervention of the cpu, enabling real-time control in various applications. *1: f 2 mc stands for fujitsu flexible microcontroller. *2: purchase of fujitsu i 2 c components conveys a license under the philips i 2 c patent rights to use these components in an i 2 c system, provided that the system conforms to the i 2 c standard specification as defined by philips. n pac k ag e 80-pin plastic lqfp (fpt-80p-m05) 80-pin plastic qfp (fpt-80p-m06) 100-pin plastic lqfp (fpt-100p-m05) 100-pin plastic qfp (fpt-100p-m06)
mb90670/675 series 2 n features ?clock embedded pll clock multiplication circuit operating clock (pll clock) can be selected from divided-by-2 of oscillation or one to four times the oscillation (at oscillation of 4 mhz, 4 mhz to 16 mhz). minimum instruction execution time of 62.5 ns (at oscillation of 4 mhz, four times the pll clock, operation at vcc of 5.0 v) ? cpu addressing space of 16 mbytes internal addressing of 24-bit external accessing can be performed by selecting 8/16-bit bus width (external bus mode) ? instruction set optimized for controller applications rich data types (bit, byte, word, long word) rich addressing mode (23 types) high code efficiency enhanced precision calculation realized by the 32-bit accumulator ? instruction set designed for high level language (c) and multi-task operations adoption of system stack pointer enhanced pointer indirect instructions barrel shift instructions ? enhanced execution speed 4-byte instruction queue ? enhanced interrupt function 8 levels, 32 factors ? automatic data transmission function independent of cpu operation extended intelligent i/o service function (ei 2 os) ? low-power consumption (standby) mode sleep mode (mode in which cpu operating clock is stopped) timebase timer mode (mode in which other than oscillation and timebase timer are stopped) stop mode (mode in which oscillation is stopped) cpu intermittent operation mode hardware standby mode ? process cmos technology ?i/o port mb90670 series: maximum of 65 ports mb90675 series: maximum of 84 ports ?timer timebase timer/watchdog timer: 1 channel 8/16-bit ppg timer: 8-bit 2 channels or 16-bit 1 channel 16-bit reload timer: 2 channels 24-bit free-run timer: 1 channel ? input capture (icu) generates an interrupt request by latching a 24-bit free-run timer counter value upon detection of an edge input to the pin. ? output compare (ocu) generates an interrupt request and reverse the output level upon detection of a match between the 24-bit free- run timer counter value and the compare setting value. ?i 2 c interface (in mb90675 series only) serial i/o port for supporting inter ic bus (continued)
3 mb90670/675 series (continued) ?uart0 with full-duplex double buffer (8-bit length) clock asynchronized or clock synchronized transmission (with start and stop bits) can be selectively used. ?uart1 (sci) with full-duplex double buffer (8-bit length) clock asynchronized or clock synchronized serial transmission (i/o extended serial) can be selectively used. ? dtp/external interrupt circuit (4 channels) a module for starting extended intelligent i/o service (ei 2 os) and generating an external interrupt triggered by an external input. ? wake-up interrupt receives external interrupt requests and generates an interrupt request upon an l level input. ? delayed interrupt generation module generates an interrupt request for switching tasks. ? 8/10-bit a/d converter (8 channels) 8-bit or 10-bit resolution can be selectively used. starting by an external trigger input.
mb90670/675 series 4 n product lineup ? mb90670 series (continued) MB90672 mb90673 mb90t673 mb90p673 classification mask rom products external rom product one-time prom product rom size 16 kbytes 32 kbytes 48 kbytes external rom 48 kbytes ram size 640 bytes 1.64 kbytes 2 kbytes cpu functions number of instructions: instruction bit length: instruction length: data bit length: minimum execution time: interrupt processing time: 340 8 bits, 16 bits 1 byte to 7 bytes 1 bit, 8 bits, 16 bits 62.5 ns (at machine clock of 16 mhz) 1.5 m s (at machine clock of 16 mhz, minimum value) ports general-purpose i/o ports (cmos output): 57 general-purpose i/o ports (n-ch open-drain output): 8 total: 65 uart0 clock synchronized transmission (500 kbps to 2 mbps) clock asynchronized transmission (4800 kbps to 500 kbps) transmission can be performed by bi-directional serial transmission or by master/ slave connection. uart1 (sci) clock synchronized transmission (500 kbps to 2 mbps) clock asynchronized transmission (2400 kbps to 62500 bps) transmission can be performed by bi-directional serial transmission or by master/ slave connection. 8/10-bit a/d converter conversion precision: 10-bit or 8-bit selectable number of inputs: 8 one-shot conversion mode (converts selected channel only once) continuous conversion mode (converts selected channel continuously) stop conversion mode (converts selected channel and stop operation repeatedly) 8/16-bit ppg timer number of channels: 2 8-bit or 16-bit ppg operation a pulse wave of given intervals and given duty ratios can be output. pulse cycle: 125 ns to 16.78 s (at oscillation of 4 mhz, machine clock of 16 mhz) 16-bit reload timer number of channels: 2 16-bit reload timer operation interval: 125 ns to 131 ms (at machine clock of 16 mhz) external event count can be performed. 24-bit free-run timer number of channel :1 overflow interrupts or intermediate bit interrupts may be generated. output compare unit (ocu) number of channels: 8 pin input factor: a match signal of compare register mb90671 item part number
5 mb90670/675 series (continued) * : varies with conditions such as the operating frequency. (see section n electrical characteristics.) MB90672 mb90673 mb90t673 mb90p673 input capture unit (icu) number of channels: 4 rewriting a register value upon a pin input (rising, falling, or both edges) dtp/external interrupt circuit number of inputs: 4 started by a rising edge, a falling edge, an h level input, or an l level input. external interrupt circuit or extended intelligent i/o service (ei 2 os) can be used. wake-up interrupt number of inputs: 8 started by an l level input. delayed interrupt generation module an interrupt generation module for switching tasks used in real-time operating systems. i 2 c interface none timebase timer 18-bit counter interrupt interval: 1.024 ms, 4.096 ms, 16.384 ms, 131.072 ms (at oscillation of 4 mhz) watchdog timer reset generation interval: 3.58 ms, 14.33 ms, 57.23 ms, 458.75 ms (at oscillation of 4 mhz, minimum value) low-power consumption (standby) mode sleep/stop/cpu intermittent operation/timebase timer/hardware stand-by process cmos operating voltage* 2.7 v to 5.5 v mb90671 item part number
mb90670/675 series 6 ? mb90675 series (continued) mb90677 mb90678 mb90t678 mb90p678 mb90v670 classification mask rom products external rom product one-time prom product evaluation product rom size 32 kbytes 48 kbytes 64 kbytes none 64 kbytes ram size 1.64 kbytes 2 kbytes 3 kbytes 4 kbytes cpu functions the number of instructions: instruction bit length: instruction length: data bit length: minimum execution time: interrupt processing time: 340 8 bits, 16 bits 1 byte to 7 bytes 1 bit, 8 bits, 16 bits 62.5 ns (at machine clock of 16 mhz) 1.5 m s (at machine clock of 16 mhz, minimum value) ports general-purpose i/o ports (cmos output): 74 general-purpose i/o ports (n-ch open-drain output): 10 total: 84 uart0 clock synchronized transmission (500 kbps to 2 mbps) clock asynchronized transmission (4800 kbps to 500 kbps) transmission can be performed by bi-directional serial transmission or by master/slave connection. uart1 (sci) clock synchronized transmission (500 kbps to 2 mbps) clock asynchronized transmission (2400 kbps to 62500 bps) transmission can be performed by bi-directional serial transmission or by master/slave connection. 8/10-bit a/d converter conversion precision: 10-bit or 8-bit can be selectively used. number of inputs: 8 one-shot conversion mode (converts selected channel only once) continuous conversion mode (converts selected channel continuously) stop conversion mode (converts selected channel and stop operation repeatedly) 8/16-bit ppg timer number of channels: 2 ppg operation of 8-bit or 16-bit pulse of given intervals and given duty ratios can be output pulse interval 125 ns to 16.78 s (at oscillation of 4 mhz, machine clock of 16 mhz) 16-bit reload timer number of channels: 2 16-bit reload timer operation interval: 125 ns to 131 ms (at machine clock of 16 mhz) external event count can be performed. 24-bit free-run timer number of channel :1 overflow interrupts or intermediate bit interrupts may be generated. output compare (ocu) number of channels: 8 pin input factor: a match signal of compare register mb90676 item part number
7 mb90670/675 series (continued) * : varies with conditions such as the operating frequency. (see section n electrical characteristics.) assurance for the mb90v670 is given only for operation with a tool at a power voltage of 2.7 v to 5.5 v, an operating temperature of 0 c to 70 c , and an operating frequency of 1.5 mhz to 16 mhz. n package and corresponding products : available : not available note: for more information about each package, see section n package dimensions. mb90677 mb90678 mb90t678 mb90p678 mb90v670 input capture (icu) number of channels: 4 rewriting a register value upon a pin input (rising, falling, or both edges) dtp/external interrupt circuit number of inputs: 4 started by a rising edge, a falling edge, an h level input, or an l level input. external interrupt circuit or extended intelligent i/o service (ei 2 os) can be used. wake-up interrupt number of inputs: 8 started by an l level input. delayed interrupt generation module an interrupt generation module for switching tasks used in real-time operating systems. i 2 c interface serial i/o port for supporting inter ic bus timebase timer 18-bit counter interrupt interval: 1.024 ms, 4.096 ms, 16.384 ms, 131.072 ms (at oscillation of 4 mhz) watchdog timer reset generation interval: 3.58 ms, 14.33 ms, 57.23 ms, 458.75 ms (at oscillation of 4 mhz, minimum value) low-power consumption (stand-by) mode sleep/stop/cpu intermittent operation/timebase timer/hardware stand-by process cmos power supply voltage for operation* 2.7 v to 5.5 v package mb90671 MB90672 mb90673 mb90t673 mb90p673 mb90676 mb90677 mb90678 mb90t678 mb90p678 mb90v670 fpt-80p-m05 fpt-80p-m06 fpt-100p-m05 fpt-100p-m06 mb90676 item part number
mb90670/675 series 8 n differences among products 1. memory size in evaluation with an evaluation product, note the difference between the evaluation chip and the chip actually used. the following items must be taken into consideration. ? the mb90v670 does not have an internal rom, however, operations equivalent to chips with an internal rom can be evaluated by using a dedicated development tool, enabling selection of rom size by settings of the development tool. ? in the mb90v670, images from ff4400 h to ffffff h are mapped to bank 00, and fe0000 h to ff3fff h to mapped to bank fe and ff only. (this setting can be changed by configuring the development tool.) ? in the mb90678/mb90p678, images from ff4000 h to ffffff h are mapped to bank 00, and ff0000 h to ff3fff h to bank ff only. 2. mask options functions selected by optional settings and methods for setting the options are dependent on the product types. refer to n mask options for detailed information. note that mask option is fixed in mb90v670 series.
9 mb90670/675 series n pin assignment p17/ad15/wi7 p16/ad14/wi6 p15/ad13/wi5 p14/ad12/wi4 p13/ad11/wi3 p12/ad10/wi2 p11/ad09/wi1 p10/ad08/wi0 p07/ad07 p06/ad06 p05/ad05 p04/ad04 p03/ad03 p02/ad02 p01/ad01 p00/ad00 v cc x1 x0 v ss p43/sin1 p44/sot1 p45/sck1 p46/ppg0 p47/atg av cc avrh avrl av ss p50/an0 p51/an1 v ss p52/an2 p53/an3 p54/an4 p55/an5 p56/an6 p57/an7 md0 md1 rst p80/ppg1 p77/dot7 p76/dot6 p75/dot5 p74/dot4 p73/dot3 p72/dot2 p71/dot1 p70/dot0 p67/asr3 p66/asr2 p65/asr1 p64/asr0 p63/int3 p62/int2 p61/int1 p60/int0 hst md2 p20/a16 p21/a17 p22/a18 p23/a19 p24/tin0 p25/tin1 p26/tot0 p27/tot1 v ss p30/ale p31/rd p32/wrl /wr p33/wrh p34/hrq p35/hak p36/rdy p37/clk p40/sin0 p41/sot0 p42/sck0 (top view) (fpt-80p-m05) 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
mb90670/675 series 10 p15/ad13/wi5 p14/ad12/wi4 p13/ad11/wi3 p12/ad10/wi2 p11/ad09/wi1 p10/ad08/wi0 p07/ad07 p06/ad06 p05/ad05 p04/ad04 p03/ad03 p02/ad02 p01/ad01 p00/ad00 v cc x1 (top view) (fpt-80p-m06) 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 p45/sck1 p46/ppg0 p47/atg av cc avrh avrl av ss p50/an0 p51/an1 v ss p52/an2 p53/an3 p54/an4 p55/an5 p56/an6 p57/an7 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 x0 v ss rst p80/ppg1 p77/dot7 p76/dot6 p75/dot5 p74/dot4 p73/dot3 p72/dot2 p71/dot1 p70/dot0 p67/asr3 p66/asr2 p65/asr1 p64/asr0 p63/int3 p62/int2 p61/int1 p60/int0 hst md2 md1 md0 p16/ad14/wi6 p17/ad15/wi7 p20/a16 p21/a17 p22/a18 p23/a19 p24/tin0 p25/tin1 p26/tot0 p27/tot1 v ss p30/ale p31/rd p32/wrl /wr p33/wrh p34/hrq p35/hak p36/rdy p37/clk p40/sin0 p41/sot0 p42/sck0 p43/sin1 p44/sot10 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41
11 mb90670/675 series p21/a17 p20/a16 p17/ad15/wi7 p16/ad14/wi6 p15/ad13/wi5 p14/ad12/wi4 p13/ad11/wi3 p12/ad10/wi2 p11/ad09/wi1 p10/ad08/wi0 p07/ad07 p06/ad06 p05/ad05 p04/ad04 p03/ad03 p02/ad02 p01/ad01 p00/ad00 v cc x1 x0 v ss pb2 pb1 pb 0 p81 p82 p83 p84 p85 p86 av cc avrh avrl av ss p50/an0 p51/an1 v ss p52/an2 p53/an3 p54/an4 p55/an5 p56/an6 p57/an7 p90/sda p91/scl md0 md1 md2 hst 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 rst pa7 pa6 pa5 pa4 pa3 pa2 pa1 pa0 p77/dot7 p76/dot6 p75/dot5 p74/dot4 p73/dot3 p72/dot2 p71/dot1 p70/dot0 p67/asr3 p66/asr2 p65/asr1 p64/asr0 p63/int3 p62/int2 p61/int1 p60/int0 p22/a18 p23/a19 p24/tin0 p25/tin1 p26/tot0 p27/tot1 p30/ale p31/rd v ss p32/wrl /wr p33/wrh p34/hrq p35/hak p36/rdy p37/clk p40/sin0 p41/sot0 p42/sck0 p43/sin1 p44/sot1 v cc p45/sck1 p46/ppg0 p47/atg p80/ppg1 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 (top view) (fpt-100p-m05)
mb90670/675 series 12 p17/ad15/wi7 p16/ad14/wi6 p15/ad13/wi5 p14/ad12/wi4 p13/ad11/wi3 p12/ad10/wi2 p11/ad09/wi1 p10/ad08/wi0 p07/ad07 p06/ad06 p05/ad05 p04/ad04 p03/ad03 p02/ad02 p01/ad01 p00/ad00 v cc x1 x0 v ss 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 p84 p85 p86 avcc avrh avrl avss p50/an0 p51/an1 vss p52/an2 p53/an3 p54/an4 p55/an5 p56/an6 p57/an7 p90/sda p91/scl md0 md1 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 p20/a16 p21/a17 p22/a18 p23/a19 p24/tin0 p25/tin1 p26/tot0 p27/tot1 p30/ale p31/rd v ss p32/wrl /wr p33/wrh p34/hrq p35/hak p36/rdy p37/clk p40/sin0 p41/sot0 p42/sck0 p43/sin1 p44/sot1 v cc p45/sck1 p46/ppg0 p47/atg p80/ppg1 p81 p82 p83 pb2 pb1 pb0 rst pa7 pa6 pa5 pa4 pa3 pa2 pa1 pa0 p77/dot7 p76/dot6 p75/dot5 p74/dot4 p73/dot3 p72/dot2 p71/dot1 p70/dot0 p67/asr3 p66/asr2 p65/asr1 p64/asr0 p63/int3 p62/int2 p61/int1 p60/int0 hst md2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 (top view) (fpt-100p-m06)
13 mb90670/675 series n pin description pin no. pin name circuit type function lqfp -80* 1 qfp -80* 2 lqfp -100* 3 qfp -100* 4 62 64 80 82 x0 a (oscillation) crystal oscillator pins 63 65 81 83 x1 39 to 41 41 to 43 47 to 49 49 to 51 md0 to md2 f (cmos) input pins for selecting operation modes connect directly to v cc or v ss . 60 62 75 77 rst h (cmos/h) external reset request input 42 44 50 52 hst g (cmos/h) hardware standby input pin 65 to 72 67 to 74 83 to 90 85 to 92 p00 to p07 b (cmos) general-purpose i/o port this function is valid in the single-chip mode. ad00 to ad07 i/o pins for the lower 8-bit of the external address data bus this function is valid in the mode where the external bus is valid. 73 to 78, 79, 80 75 to 80, 1, 2 91 to 96, 97, 98 93 to 98, 99, 100 p10 to p15, p16, p17 b (cmos) general-purpose i/o port this function is valid in the single-chip mode. ad08 to ad13, ad14, ad15 i/o pins for the upper 8-bit of the external address data bus this function is valid in the mode where the external bus is valid. wi0 to wi5, wi6, wi7 i/o pins for wake-up interrupts this function is valid in the single-chip mode. because the input of the dtp/external interrupt circuit is used as required when the dtp/external interrupt circuit is enabled, and it is necessary to stop outputs by other functions unless such outputs are made intentionally. 1, 2, 3, 4 3, 4, 5, 6 99, 100, 1, 2 1, 2, 3, 4 p20, p21, p22, p23 b (cmos) general-purpose i/o port this function becomes valid in the single-chip mode or the external address output control register is set to select a port. a16, a17, a18, a19 output pins for the external address bus of a16 to a19 this function is valid in the mode where the external bus is valid and the upper address control register is set to select an address. *1: fpt-80p-m05 *2: fpt-80p-m06 *3: fpt-100p-m05 *4: fpt-100p-m06 (continued)
mb90670/675 series 14 pin no. pin name circuit type function lqfp -80* 1 qfp -80* 2 lqfp -100* 3 qfp -100* 4 5, 6 7, 8 3, 4 5, 6 p24, p25 e (cmos/h) general-purpose i/o port this function is always valid. tin0, tin1 event input pins of 16-bit reload timer 0 and 1 because this input is used as required when the 16-bit reload timer is performing input operations, and it is necessary to stop outputs by other functions unless such outputs are made intentionally. 7, 8 9, 10 5, 6 7, 8 p26, p27 e (cmos/h) general-purpose i/o port this function is valid when outputs from 16-bit reload timer 0 and 1 are disabled. tot0, tot1 output pins for 16-bit reload timer 0 and 1 this function is valid when output from 16-bit reload timer 0 and 1 are enabled. 10 12 7 9 p30 b (cmos) general-purpose i/o port this function is valid in the single-chip mode. ale address latch enable output pin this function is valid in the mode where the external bus is valid. 11 13 8 10 p31 b (cmos) general-purpose i/o port this function is valid in the single-chip mode. rd read strobe output pin for the data bus this function is valid in the mode where the external bus is valid. 12 14 10 12 p32 b (cmos) general-purpose i/o port this function is valid in the single-chip mode or wrl /wr pin output is disabled. wrl write strobe output pin for the data bus this function is valid when wrl /wr pin output is enabled in the mode where external bus is valid. wrl is used for holding the lower 8-bit for write strobe in 16-bit access operations, while wr is used for holding 8-bit data for write strobe in 8-bit access operations. wr 13 15 11 13 p33 b (cmos) general-purpose i/o port this function is valid in the single-chip mode, in the external bus 8-bit mode, or wrh pin output is disabled. wrh write strobe output pin for the upper 8-bit of the data bus this function is valid when the external bus 16-bit mode is selected in the mode where the external bus is valid, and wrh output pin is enabled. *1: fpt-80p-m05 *2: fpt-80p-m06 *3: fpt-100p-m05 *4: fpt-100p-m06 (continued)
15 mb90670/675 series pin no. pin name circuit type function lqfp -80* 1 qfp -80* 2 lqfp -100* 3 qfp -100* 4 14 16 12 14 p34 b (cmos) general-purpose i/o port this function is valid when both the single-chip mode and the hold function are disabled. hrq hold request input pin this function is valid in the mode where the external bus is valid or when the hold function is enabled. 15 17 13 15 p35 b (cmos) general-purpose i/o port this function is valid when both the single-chip mode and the hold function are disabled. hak hold acknowledge output pin this function is valid in the mode where the external bus is valid or when the hold function is enabled. 16 18 14 16 p36 b (cmos) general-purpose i/o port this function is valid when both the single-chip mode and the external ready function are disabled. rdy ready input pin this function is valid when the external ready function is enabled in the mode where the external bus is valid. 17 19 15 17 p37 b (cmos) general-purpose i/o port this function is valid in the single-chip mode or when the clk output is disabled. clk clk output pin this function is valid when clk output is disabled in the mode where the external bus is valid. 18 20 16 18 p40 e (cmos/h) general-purpose i/o port this function is always valid. sin0 serial data input pin of uart0 because this input is used as required when uart0 is performing input operations, and it is necessary to stop outputs by other functions unless such outputs are made intentionally. 19 21 17 19 p41 e (cmos/h) general-purpose i/o port this function is valid when serial data output from uart0 is disabled. sot0 serial data output pin of uart0 this function is valid when serial data output from uart0 is enabled. *1: fpt-80p-m05 *2: fpt-80p-m06 *3: fpt-100p-m05 *4: fpt-100p-m06 (continued)
mb90670/675 series 16 pin no. pin name circuit type function lqfp -80* 1 qfp -80* 2 lqfp -100* 3 qfp -100* 4 20 22 18 20 p42 e (cmos/h) general-purpose i/o port this function is valid when clock output from uart0 is disabled. sck0 clock i/o pin of uart0 this function is valid when clock output from uart0 is enabled. because this input is used as required when uart0 is performing input operations, and it is necessary to stop outputs by other functions unless such outputs are made intentionally. 21 23 19 21 p43 e (cmos/h) general-purpose i/o port this function is always valid. sin1 serial data input pin of uart1 (sci) because this input is used as required when uart1 (sci) is performing input operations, and it is necessary to stop outputs by other functions unless such outputs are made intentionally. 22 24 20 22 p44 e (cmos/h) general-purpose i/o port this function is valid when serial data output from uart1 (sci) is disabled. sot1 serial data output pin of uart1 (sci) this function is valid when serial data output from uart1 (sci) is enabled. 23 25 22 24 p45 e (cmos/h) general-purpose i/o port this function is valid when clock output from uart1 (sci) is disabled. sck1 clock i/o pin of uart1 (sci) this function is valid when clock output from uart1 (sci) is enabled. because this input is used as required when uart1 (sci) is performing input operations, and it is necessary to stop outputs by other functions unless such outputs are made intentionally. 24 26 23 25 p46 e (cmos/h) general-purpose i/o port this function is valid when waveform output from 8/16-bit ppg timer 0 is disabled. ppg0 output pin of 8/16-bit ppg timer 0 this function is valid when waveform output from 8/16-bit ppg timer 0 is enabled. *1: fpt-80p-m05 *2: fpt-80p-m06 *3: fpt-100p-m05 *4: fpt-100p-m06 (continued)
17 mb90670/675 series pin no. pin name circuit type function lqfp -80* 1 qfp -80* 2 lqfp -100* 3 qfp -100* 4 25 27 24 26 p47 e (cmos/h) general-purpose i/o port this function is always valid. at g trigger input pin of the 8/10-bit a/d converter because this input is used as requited when the 8/10-bit a/d converter is performing input operations, and it is necessary to stop outputs by other functions unless such outputs are made intentionally. 30, 31, 33, 34, 35 to 38 32, 33, 35, 36, 37 to 40 36, 37, 38, 39, 41 to 44 38, 39, 40, 41, 43 to 46 p50, p51, p52, p53, p54 to p57 c (cmos/h) i/o port of an open-drain type the input function is valid when the analog input enable register is set to select a port. an0, an1, an2, an3, an4 to an7 analog input pins of the 8/10-bit a/d converter this function is valid when the analog input enable register is set to select ad. 43 to 46 45 to 48 51 to 54 53 to 56 p60 to p63 e (cmos/h) general-purpose i/o port this function is always valid. int0 to int3 request input pins of the dtp/external interrupt circuit because this input is used as required when the dtp/external interrupt circuit is performing input operations, and it is necessary to stop outputs from other functions unless such outputs are made intentionally. 47 to 50 49 to 52 55 to 58 57 to 60 p64 to p67 e (cmos/h) general-purpose i/o port this function is always valid. asr0 to asr3 sample data input pins for icu0 to icu3 because this input is used as required when the input capture (icu) is performing input operations, and it is necessary to stop outputs from other functions unless such outputs are made intentionally. 51 to 58 53 to 60 59 to 66 61 to 68 p70 to p77 e (cmos/h) general-purpose i/o port this function is valid when waveform output from the output compare (ocu) is disabled. dot0 to dot7 waveform output pins of ocu0 and ocu1 this function is valid when waveform output from the output compare (ocu) is enabled and output from the port is selected. *1: fpt-80p-m05 *2: fpt-80p-m06 *3: fpt-100p-m05 *4: fpt-100p-m06 (continued)
mb90670/675 series 18 (continued) pin no. pin name circuit type function lqfp -80* 1 qfp -80* 2 lqfp -100* 3 qfp -100* 4 59 61 25 27 p80 e (cmos/h) general-purpose i/o port this function is valid when waveform output from 8/16-bit ppg timer 1 is disabled. ppg1 output pin of 8/16-bit ppg timer 1 this function is valid when waveform output from 8/16-bit ppg timer 1 is enabled. 26 to 31 28 to 33 p81 to p86 e (cmos/h) general-purpose i/o port this function is always valid. 45 47 p90 d (nmos/h) i/o port of an open-drain type this function is always valid. sda i/o pin of the i 2 c interface this function is valid when operation of the i 2 c interface is enabled. hold the port output in the high-impedance status (pdr = 1) when the i 2 c interface is in operation. 46 48 p91 d (nmos/h) i/o port of an open-drain type this function is always valid. scl clock i/o pin of the i 2 c interface this function is valid when operation of the i 2 c interface is enabled. hold the port output in the high-impedance status (pdr = 1) when the i 2 c interface is in operation. 67 to 74 69 to 76 pa0 to pa7 e (cmos/h) general-purpose i/o port this function is always valid. 76 to 78 78 to 80 pb0 to pb2 e (cmos/h) general-purpose i/o port this function is always valid. 64 66 21, 82 23, 84 v cc power supply power supply to the digital circuit 9, 32, 61 11, 34, 63 9, 40, 79 11, 42, 81 v ss power supply ground level of the digital circuit 26 28 32 34 av cc power supply power supply to the analog circuit make sure to turn on/turn off this power supply with a voltage exceeding av cc applied to v cc . 27 29 33 35 avrh power supply reference voltage input to the analog circuit make sure to turn on/turn off this power supply with a voltage exceeding avrh applied to av cc . 28 30 34 36 avrl power supply reference voltage input to the analog circuit 29 31 35 37 av ss power supply ground level of the analog circuit *1: fpt-80p-m05 *2: fpt-80p-m06 *3: fpt-100p-m05 *4: fpt-100p-m06
19 mb90670/675 series n i/o circuit type (continued) type circuit remarks a ? external clock frequency 3 mhz to 32 mhz ? oscillation feedback resistor approx. 1m w b ? cmos level input/output (with standby control) ? pull-up option selectable (with standby control) ? no pull-up resistor in the mb90v670 c ? n-ch open-drain output ? cmos level hystheresis input (with a/d control) d ? nmos open-drain output ? cmos level hysteresis input (with standby control) standby control signal x1 x0 p-ch n-ch clock input p-ch n-ch digital output digital output digital input standby control signal r digital output digital input a/d input a/d disable digital output digital input p-ch n-ch standby control signal
mb90670/675 series 20 (continued) type circuit remarks e ? cmos level output ? cmos level hysteresis input (with standby control) ? pull-up option selectable (with standby control) ? no pull-up resistor in the mb90v670 f ? cmos level input/output (without standby control) ? pull-up/pull-down option selectable (without stand-by control) ? in mask rom versions, md2 pin is fixed to pull-down resistor, and optionally selectable the resistor in other pins. ? the mb90v670 has no pull-up/pull-down resistors. g ? cmos level hysteresis input (without standby control) h ? cmos level hysteresis input (without standby control) ? pull-up option selectable (without standby control) ? no pull-up resistor in the mb90v670 p-ch n-ch digital output digital output digital input standby control signal r p-ch n-ch digital input r r p-ch n-ch digital input p-ch n-ch digital input r
21 mb90670/675 series n handling devices 1. make sure that the voltage not exceed the maximum rating (to avoid a latch-up). in cmos ics, a latch-up phenomenon is caused when an voltage exceeding v cc or an voltage below v ss is applied to input or output pins or a voltage exceeding the rating is applied across v cc and v ss . when a latch-up is caused, the power supply current may be dramatically increased causing resultant thermal break-down of devices. to avoid the latch-up, make sure that the voltage not exceed the maximum rating. in turning on/turning off the analog power supply, make sure the analog power voltage (av cc , avrh) and analog input voltages not exceed the digital voltage (v cc ). 2. connection of unused pins leaving unused pins open may result in abnormal operations. clamp the pin level by connecting it to a pull-up or a pull-down resistor. 3. notes on using external clock in using the external clock, drive x0 pin only and leave x1 pin unconnected. 4. power supply pins in products with multiple v cc or v ss pins, the pins of a same potential are internally connected in the device to avoid abnormal operations including latch-up. however, connect the pins external power and ground lines to lower the electro-magnetic emission level and abnormal operation of strobe signals caused by the rise in the ground level, and to conform to the total current rating. make sure to connect v cc and v ss pins via lowest impedance to power lines. it is recommended to provide a bypass capacitor of around 0.1 m f between v cc and v ss pin near the device. 5. crystal oscillator circuit noises around x0 or x1 pins may be possible causes of abnormal operations. make sure to provide bypass capacitors via shortest distance from x0, x1 pins, crystal oscillator (or ceramic resonator) and ground lines, and make sure, to the utmost effort, that lines of oscillation circuit not cross the lines of other circuits. it is highly recommended to provide a printed circuit board art work surrounding x0 and x1 pins with an grand area for stabilizing the operation. ? using external clock x0 x1 open mb90670/675 series
mb90670/675 series 22 6. turning-on sequence of power supply to a/d converter and analog inputs make sure to turn on the a/d converter power supply (av cc , avrh, avrl) and analog inputs (an0 to an7) after turning-on the digital power supply (v cc ). turn-off the digital power after turning off the a/d converter supply and analog inputs. in this case, make sure that the voltage not exceed avrh or av cc (turning on/off the analog and digital power supplies simultaneously is acceptable). 7. connection of unused pins of a/d converter connect unused pins of a/d converter to av cc = v cc , av ss = avrh = v ss . 8. mov @al, ah, movw @al, ah instructions when the above instruction is performed to i/o space, an unnecessary writing operation (#ff, #ffff) may be performed in the internal bus. use the compiler function for inserting an nop instruction before the above instructions to avoid the writing operation. accessing ram space with the above instruction does not cause any problem. 9. initialization in the device, there are internal registers which is initialized only by a power-on reset. to initialize these registers, turning on the power again.
23 mb90670/675 series n programming to the one-time prom on the mb90p673/p678 the mb90p673 and mb90p678 has a prom mode for emulation operation of the mbm27c1000/1000a, to which writing codes by a general-purpose rom writer can be done via a dedicated adapter. please note that the device is not compatible with the electronic signature (device id code) mode. 1. writing sequence the memory map for the prom mode is shown as follows. write option data to the option setting area according by referring to 7. prom option bit map. write data to the one-time prom microcontrollers according to the following sequence. (1) set the prom programer to select the mbm27c1000/1000a. (2) load the program data to the rom programer address *1 to 1ffff h . to select a prom option, load the option data from 00000 h to 0002c h referring to 7. prom option bit map. (3) set the chip to the adapter socket and load the socket to the rom programer. make sure that the device and adapter socket are properly oriented. (4) program from 00000 h to 1ffff h . notes: ? in mask-rom products, there is no prom mode and it is impossible to read data by a rom programer. ? contact sales personnel when purchasing a rom programer. 2. program mode in the mb90p673/p678, all the bits are set to 1 upon shipping from fujitsu or erasing operation. to write data, set desired bit selectively to 0. however it is impossible to write electronically to the bits. note: the rom image size for bank 00 is 48 kbytes (rom image for between ff4000 h to ffffff h ). type address* 1 address* 2 number of bytes mb90p673 14000 h ff4000 h 48 kbytes mb90p678 10000 h ff0000 h 64 kbytes ffffff h 010000 h 004000 h 000000 h address* 2 address* 1 1fffff h 00000 h 0002c h normal operation mode prom mode program area (prom) program area (prom) rom image option setting area
mb90670/675 series 24 3. recommended screening conditions high-temperature aging is recommended as the pre-assembly screening precedure for a product with a blanked one-time prom microcomputer program. 4. programming yield all bits cannnot be programmed at fujitsu shipping test to a blanked one-time prom microcomputer, due to its nature. for this reason, a programming yield of 100% cannnot be assured at all times. 5. eprom programmer socket adapter and recommended programmer manufacturer inquiry: san hayato co., ltd.: tel: (81)-3-3986-0403 fax: (81)-3-5396-9106 minato electronics inc.: tel: usa (1)-916-348-6066 japan (81)-45-591-5611 data i/o co., ltd.: tel: usa/asia (1)-206-881-6444 europe (49)-8-985-8580 part no. mb90p673pf mb90p673pfv mb90p678pf mb90p678pfv package qfp-80 lqfp-80 qfp-100 lqfp-100 compatible socket adapter sun hayato co., ltd. rom-80qf- 32dp-16l rom-80sqf- 32dp-16l rom-100qf- 32dp-16l rom-100sqf- 32dp-16l minato electronics inc. 1890a recommended 1891 recommended 1930 recommended data i/o co., ltd. unisite recommended 3900 recommended 2900 recommended program, verify aging +150 c, 48 hrs. data verification assembly recommended programmer manufacturer and programmer name
25 mb90670/675 series 6. pin assignment for eprom mode ? mbm27c1000/1000a pin compatible mbm27c1000/1000a mb90p673/mb90p678 mbm27c1000/1000a mb90p673/mb90p678 pin no. pin name pin no. pin name pin no. pin name pin no. pin name 1v pp md2 32 v cc v cc 2 oe p32 31 pgm p33 3a15 p17 30n.c. 4 a12 p14 29 a14 p16 5 a07 p27 28 a13 p15 6 a06 p26 27 a08 p10 7 a05 p25 26 a09 p11 8 a04 p24 25 a11 p13 9 a03 p23 24 a16 p30 10 a02 p22 23 a10 p12 11 a01 p21 22 ce p31 12 a00 p20 21 d07 p07 13 d00 p00 20 d06 p06 14 d01 p01 19 d05 p05 15 d02 p02 18 d04 p04 16 gnd v ss 17 d03 p03 note: only mb90675 series has p81 to p86, p90, p91, pa0 to pa7, pb0 to pb2 pins. pin no. pin name processing type pin no. pin name md0 md1 x0 connect a pull-up resistor of 4.7 k w . power supply refer to pin assignments. hst v cc x1 open av cc avrh p37 p40 to p47 p50 to p57 p60 to p67 p70 to p77 p80 to p86 p90 p91 pa 0 t o pa 7 pb0 to pb2 gnd refer to pin assignments. p34 p35 p36 rst avrl av ss v ss connect a pull-up resistor having a resistance of approximately 1 m w to each pin. ? pin assignments for products not compatible with mbm27c1000/1000a ? power supply, gnd connected pin refer to pin assignments. refer to pin assignments. refer to pin assignments.
mb90670/675 series 26 7. prom option bit map notes: ? data 1 must be programed to the reserved bits and address other than listed above. ? only mb90p678 has pull-up options for p81 to p86, pa0 to pa7, and pb0 to pb2 pins. ? data 1 must be programed for the mb90p673. address bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00000 h vacancy rst pull-up 1: no 0: yes vacancy md1 pull-up 1: no 0: yes md1 pull-down 1: no 0: yes md0 pull-up 1: no 0: yes md0 pull-down 1: no 0: yes vacancy 00004 h p07 pull-up 1: no 0: yes p06 pull-up 1: no 0: yes p05 pull-up 1: no 0: yes p04 pull-up 1: no 0: yes p03 pull-up 1: no 0: yes p02 pull-up 1: no 0: yes p01 pull-up 1: no 0: yes p00 pull-up 1: no 0: yes 00008 h p17 pull-up 1: no 0: yes p16 pull-up 1: no 0: yes p15 pull-up 1: no 0: yes p14 pull-up 1: no 0: yes p13 pull-up 1: no 0: yes p12 pull-up 1: no 0: yes p11 pull-up 1: no 0: yes p10 pull-up 1: no 0: yes 0000c h p27 pull-up 1: no 0: yes p26 pull-up 1: no 0: yes p25 pull-up 1: no 0: yes p24 pull-up 1: no 0: yes p23 pull-up 1: no 0: yes p22 pull-up 1: no 0: yes p21 pull-up 1: no 0: yes p20 pull-up 1: no 0: yes 00010 h p37 pull-up 1: no 0: yes p36 pull-up 1: no 0: yes p35 pull-up 1: no 0: yes p34 pull-up 1: no 0: yes p33 pull-up 1: no 0: yes p32 pull-up 1: no 0: yes p31 pull-up 1: no 0: yes p30 pull-up 1: no 0: yes 00014 h p47 pull-up 1: no 0: yes p46 pull-up 1: no 0: yes p45 pull-up 1: no 0: yes p44 pull-up 1: no 0: yes p43 pull-up 1: no 0: yes p42 pull-up 1: no 0: yes p41 pull-up 1: no 0: yes p40 pull-up 1: no 0: yes 0001c h p67 pull-up 1: no 0: yes p66 pull-up 1: no 0: yes p65 pull-up 1: no 0: yes p64 pull-up 1: no 0: yes p63 pull-up 1: no 0: yes p62 pull-up 1: no 0: yes p61 pull-up 1: no 0: yes p60 pull-up 1: no 0: yes 00020 h p77 pull-up 1: no 0: yes p76 pull-up 1: no 0: yes p75 pull-up 1: no 0: yes p74 pull-up 1: no 0: yes p73 pull-up 1: no 0: yes p72 pull-up 1: no 0: yes p71 pull-up 1: no 0: yes p70 pull-up 1: no 0: yes 00024 h vacancy p86 pull-up 1: no 0: yes p85 pull-up 1: no 0: yes p84 pull-up 1: no 0: yes p83 pull-up 1: no 0: yes p82 pull-up 1: no 0: yes p81 pull-up 1: no 0: yes p80 pull-up 1: no 0: yes 00028 h pa 5 pull-up 1: no 0: yes pa 4 pull-up 1: no 0: yes pa 3 pull-up 1: no 0: yes pa 2 pull-up 1: no 0: yes pa 1 pull-up 1: no 0: yes pa 0 pull-up 1: no 0: yes vacancy vacancy 0002c h vacancy vacancy vacancy pb2 pull-up 1: no 0: yes pb1 pull-up 1: no 0: yes pb0 pull-up 1: no 0: yes pa 7 pull-up 1: no 0: yes pa 6 pull-up 1: no 0: yes
27 mb90670/675 series n block diagram port 0, 1 f 2 mcC16l cpu clock control block (including timebase timer) wake-up interrupt external bus interface port 2, 3 16-bit reload timer 0 16-bit reload timer 1 port 7 output compare (unit 0) output compare (unit 1) port 9* i 2 c interface * other pins v cc ,v ss , md0 to md2 interrupt controller port 5 8/10-bit a/d converter internal data bus port 4 uart0 uart1 (sci) 16-bit ppg timer 8-bit ppg timer 0 8-bit ppg timer 1 port 8 port 6 dtp/external interrupt circuit 0 to 3 input capture (icu) 24-bit free-run timer port a, b * ram rom x0 x1 rst hst p10/ad08/wi0 to p17/ad15/wi7 p00/ad00 to p07/ad07 p20/a16 to p23/a19 p30/ale p31/rd p32/wrl /wr p33/wrh p34/hrq p35/hak p36/rdy p37/clk p24/tin0 p26/tot0 p25/tin1 p27/tot1 p70/dot0 to p77/dot7 p90/sda p91/scl p50/an0 to p57/an7 av cc avrh avrl av ss p47/atg p40/sin0 p41/sot0 p42/sck0 p43/sin1 p44/sot1 p45/sck1 p46/ppg0 p80/ppg1 p81 to p86 p60/int0 to p63/int3 p64/asr0 to p67/asr3 pa0 to pa7 pb0 to pb2 88 8 16 4 2 10 8 4 4 2 8 8 6 4 4 4 4 3 8 * : not included in the mb90670 series.
mb90670/675 series 28 n memory map notes: ? the rom data of bank ff is reflected in the upper address of bank 00, realizing effective use of the c compiler small model. the lower 16-bit of bank ff and the lower 16-bit of bank 00 is assigned to the same address, enabling reference of the table on the rom without stating far. however, the rom area of the mb90678/p678 exceeds 48 kbytes, and for this reason, the image from ff4000 h to ffffff h is reflected on bank 00 and image from ff0000 h to ff3fff h bank ff only. ? in the mb90670/675 series, the upper 4-bit of the address are not output to the external bus. for this reason, the maximum area accessible is 1 mbyte. the same address is accessed through different banks in different images. for example, accessing a00000 h and b00000 h accesses the same address on the external bus. ? to prevent the memory or i/o from being accessed through images, and the data from being destroyed, it is recommended to limit number of banks to a maximum of 16 so that the banks are mapped without interfering each other. caution must be also taken when masking the upper address with the external address output control register (hacr). part number address #1* 2 address #2 * 2 address #3 * 2 mb90671 ffc000 h 00c000 h 000380 h MB90672 ff8000 h 008000 h 000780 h mb90673 ff4000 h 004000 h 000900 h mb90t673 000900 h mb90p673 ff4000 h 004000 h 000900 h mb90676 ff8000 h 008000 h 000780 h mb90677 ff4000 h 004000 h 000900 h mb90678 ff0000 h 004000 h 000d00 h mb90t678 000d00 h mb90p678 ff0000 h 004000 h 000d00 h ffffff h address#1 100000 h 010000 h address #2 address #3 000100 h 0000c0 h 000000 h rom area rom area rom area (image of bank ff) rom area (image of bank ff) external area external area external area external area ram ram ram register register register peripheral peripheral peripheral single-chip mode internal rom external bus mode external rom external bus mode : internal access memory : enternal access memory *1: the same external memory is accessed for bank 0f, 1f, 2f through ff. *2: addresses #1, #2 and #3 are unique to the product type. : inhibited area 002000 h 004000 h * 1 external area
29 mb90670/675 series n f 2 mc-16l cpu programming model (1) dedicated registers : accumlator (a) dual 16-bit register used for storing results of calculation etc. the two 16-bit registers can be combined to be used as a 32-bit register. : additional data bank register (adb) the 8-bit register indicating the additional space. : user stack pointer (usp) the 16-bit pointer indicating a user stack address. : user stack bank register (usb) the 8-bit register indicating the user stack space. : system stack pointer (ssp) the 16-bit pointer indicating the status of the system stack address. : processor status (ps) the 16-bit register indicating the system status. : program bank register (pcb) the 8-bit register indicating the program space. : data bank register (dtb) the 8-bit register indicating the data space. : program counter (pc) the 16-bit register indicating storing location of the current instruction code. : direct page register (dpr) the 8-bit register for specifying bit 8 through 15 of the operand address in the short direct addressing mode. : system stack bank register (ssb) the 8-bit register indicating the system stack space. ah al usp ssp dpr pcb dtb usb ssb adb ps pc 8-bit 16-bit 32-bit
mb90670/675 series 30 (2) general-purpose registers (3) processor status (ps) maximum of 32 banks 000180 h + (rp 10 h ) r7 r5 r3 r1 r6 r4 r2 r0 rw7 rw6 rw5 rw4 rl3 rl2 rl1 rl0 rw3 rw2 rw1 rw0 16-bit ilm rp ccr bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ilm2 b4 ilm1 ilm0 b3 b2 b1 b0 istnzvc 00 000 0 00 1 0xxx x x ps initial value x : indeterminate : unused
31 mb90670/675 series n i/o map (continued) address abbreviated register name register name read/ write resource name initial value 000000 h pdr0 port 0 data register r/w port 0 xxxxxxxx b 000001 h pdr1 port 1 data register r/w port 1 xxxxxxxx b 000002 h pdr2 port 2 data register r/w port 2 xxxxxxxx b 000003 h pdr3 port 3 data register r/w port 3 xxxxxxxx b 000004 h pdr4 port 4 data register r/w port 4 xxxxxxxx b 000005 h pdr5 port 5 data register r/w port 5 11111111 b 000006 h pdr6 port 6 data register r/w port 6 xxxxxxxx b 000007 h pdr7 port 7 data register r port 7 xxxxxxxx b 000008 h pdr8 port 8 data register r/w port 8* 5 Cxxxxxxx b 000009 h pdr9 port 9 data register r/w port 9* 5 CCCCCC11 b 00000a h pdra port a data register r/w port a* 5 xxxxxxxx b 00000b h pdrb port b data register r/w port b* 5 CCCCCxxx b 00000c h to 00000e h (vacancy)* 3 00000f h eifr wake-up interrupt flag register r/w wake-up interrupt CCCCCCC0 b 000010 h ddr0 port 0 data direction register r/w port 0 00000000 b 000011 h ddr1 port 1 data direction register r/w port 1 00000000 b 000012 h ddr2 port 2 data direction register r/w port 2 00000000 b 000013 h ddr3 port 3 data direction register r/w port 3 00000000 b 000014 h ddr4 port 4 data direction register r/w port 4 00000000 b 000015 h ader analog input enable register r/w port 5, analog input 11111111 b 000016 h ddr6 port 6 data direction register r/w port 6 00000000 b 000017 h ddr7 port 7 data direction register r/w port 7 00000000 b 000018 h ddr8 port 8 data direction register r/w port 8* 5 C0000000 b 000019 h (vacancy)* 3 00001a h ddra port a data direction register r/w port a* 5 00000000 b 00001b h ddrb port b data direction register r/w port b* 5 CCCCC000 b 00001c h to 00001e h (vacancy)* 3 00001f h eicr wake-up interrupt enable register w wake-up interrupt 00000000 b
mb90670/675 series 32 (continued) address abbreviated register name register name read/ write resource name initial value 000020 h umc0 mode control register 0 r/w! uart0 00000100 b 000021 h usr0 status register 0 r/w! 00010000 b 000022 h uidr0/ uodr0 input data register 0/ output data register 0 r/w xxxxxxxx b 000023 h urd0 rate and data register 0 r/w 00000000 b 000024 h smr1 mode register 1 r/w uart1 (sci) 00000000 b 000025 h scr1 control register 1 r/w! 00000100 b 000026 h sidr1/ sodr1 input data register 1/ output data register 1 r/w xxxxxxxx b 000027 h ssr1 status register 1 r/w! 00001C00 b 000028 h enir dtp/interrupt enable register r/w dtp/external interrupt circuit CCCC0000 b 000029 h eirr dtp/interrupt factor register r/w CCCC0000 b 00002a h elvr request level setting register r/w 00000000 b 00002b h (vacancy)* 3 00002c h adcs a/d convertor control status register r/w! 8/10-bit a/d converter 00000000 b 00002d h 00000000 b 00002e h adcr a/d convertor data register r/w!* 4 xxxxxxxx b 00002f h 000000xx b 000030 h ppgc0 ppg0 operating mode control register r/w! 8/16-bit ppg timer 0 0C000001 b 000031 h ppgc1 ppg1 operating mode control register r/w! 8/16-bit ppg timer 1 00000000 b 000032 h (vacancy)* 3 000033 h 000034 h prll0 ppg0 reload register r/w 8/16-bit ppg timer 0 xxxxxxxx b 000035 h prlh0 r/w xxxxxxxx b 000036 h prll1 ppg1 reload register r/w 8/16-bit ppg timer 1 xxxxxxxx b 000037 h prlh1 r/w xxxxxxxx b 000038 h tmcsr0 timer control status register 0 r/w! 16-bit reload timer 0 00000000 b 000039 h CCCC0000 b 00003a h tmr0/ tmrlr0 16-bit timer register 0/ 16-bit reload register 0 r/w xxxxxxxx b 00003b h xxxxxxxx b 00003c h tmcsr1 timer control status register 1 r/w! 16-bit reload timer 1 00000000 b 00003d h CCCC0000 b 00003e h tmr1/ tmrlr1 16-bit timer register 1/ 16-bit reload register 1 r/w xxxxxxxx b 00003f h xxxxxxxx b
33 mb90670/675 series (continued) address abbreviated register name register name read/ write resource name initial value 000040 h ibsr i 2 c bus status register r i 2 c interface* 6 00000000 b 000041 h ibcr i 2 c bus control register r/w 00000000 b 000042 h iccr i 2 c bus clock control register r/w C C 0xxxxx b 000043 h iadr i 2 c bus address register r/w Cxxxxxxx b 000044 h idar i 2 c bus data register r/w xxxxxxxx b 000045 h to 00004f h (vacancy)* 3 000050 h tccr free-run timer control register r/w! 24-bit free-run timer 11000000 b 000051 h CC111111 b 000052 h icc icu control register r/w input capture (icu) 00000000 b 000053 h 00000000 b 000054 h tcrl free-run timer lower data register r 24-bit free-run timer 00000000 b 000055 h 00000000 b 000056 h tcrh free-run timer upper data register r 00000000 b 000057 h 00000000 b 000058 h ccr00 ocu control register 00 r/w output compare (ocu) (unit 0) 11110000 b 000059 h CCCC0000 b 00005a h ccr01 ocu control register 01 r/w CCCC0000 b 00005b h 00000000 b 00005c h ccr10 ocu control register 10 r/w output compare (ocu) (unit 1) 11110000 b 00005d h CCCC0000 b 00005e h ccr11 ocu control register 11 r/w CCCC0000 b 00005f h 00000000 b 000060 h icdr0l icu lower data register 0 r input capture (icu) xxxxxxxx b 000061 h xxxxxxxx b 000062 h icdr0h icu upper data register 0 r xxxxxxxx b 000063 h 00000000 b 000064 h icdr1l icu lower data register 1 r xxxxxxxx b 000065 h xxxxxxxx b 000066 h icdr1h icu upper data register 1 r xxxxxxxx b 000067 h 00000000 b 000068 h icdr2l icu lower data register 2 r xxxxxxxx b 000069 h xxxxxxxx b
mb90670/675 series 34 (continued) address abbreviated register name register name read/ write resource name initial value 00006a h icdr2h icu upper data register 2 r input capture (icu) xxxxxxxx b 00006b h 00000000 b 00006c h icdr3l icu lower data register 3 r xxxxxxxx b 00006d h xxxxxxxx b 00006e h icdr3h icu upper data register 3 r xxxxxxxx b 00006f h 00000000 b 000070 h cpr00l ocu compare lower data register 0 r/w output compare (ocu) (unit 0) 00000000 b 000071 h 00000000 b 000072 h cpr00h ocu compare upper data register 0 r/w 00000000 b 000073 h 00000000 b 000074 h cpr01l ocu compare lower data register 1 r/w 00000000 b 000075 h 00000000 b 000076 h cpr01h ocu compare upper data register 1 r/w 00000000 b 000077 h 00000000 b 000078 h cpr02l ocu compare lower data register 2 r/w 00000000 b 000079 h 00000000 b 00007a h cpr02h ocu compare upper data register 2 r/w 00000000 b 00007b h 00000000 b 00007c h cpr03l ocu compare lower data register 3 r/w 00000000 b 00007d h 00000000 b 00007e h cpr03h ocu compare upper data register 3 r/w 00000000 b 00007f h 00000000 b 000080 h cpr04l ocu compare lower data register 4 r/w output compare (ocu) (unit 1) 00000000 b 000081 h 00000000 b 000082 h cpr04h ocu compare upper data register 4 r/w 00000000 b 000083 h 00000000 b 000084 h cpr05l ocu compare lower data register 5 r/w 00000000 b 000085 h 00000000 b 000086 h cpr05h ocu compare upper data register 5 r/w 00000000 b 000087 h 00000000 b 000088 h cpr06l ocu compare lower data register 6 r/w 00000000 b 000089 h 00000000 b 00008a h cpr06h ocu compare upper data register 6 r/w 00000000 b 00008b h 00000000 b
35 mb90670/675 series (continued) address abbreviated register name register name read/ write resource name initial value 00008c h cpr07l ocu compare lower data register 7 r/w output compare (ocu) (unit 1) 00000000 b 00008d h 00000000 b 00008e h cpr07h ocu compare upper data register 7 r/w 00000000 b 00008f h 00000000 b 000090 h to 00009e h (system reservation area)* 1 00009f h dirr delayed interrupt factor generation/ cancellation register r/w delayed interrupt generation module CCCCCCC0 b 0000a0 h lpmcr low-power consumption mode control register r/w! low-power consumption (stand-by) mode 00011000 b 0000a1 h ckscr clock selection register r/w! low-power consumption (stand-by) mode 11111100 b 0000a2 h to 0000a4 h (vacancy)* 3 0000a5 h arsr automatic ready function select register w external bus pin 0011CC00 b 0000a6 h hacr upper address control register w external bus pin CCCC0000 b 0000a7 h epcr bus control signal select register w external bus pin 0 0 0 0 * 0 0 C b 0000a8 h wdtc watchdog timer control register r/w! watchdog timer xxxxx1 1 1 b 0000a9 h tbtc timebase timer control register r/w! timebase timer 1CC00100 b 0000aa h to 0000af h (vacancy)* 3 0000b0 h icr00 interrupt control register 00 r/w! interrupt controller 00000111 b 0000b1 h icr01 interrupt control register 01 r/w! 00000111 b 0000b2 h icr02 interrupt control register 02 r/w! 00000111 b 0000b3 h icr03 interrupt control register 03 r/w! 00000111 b 0000b4 h icr04 interrupt control register 04 r/w! 00000111 b 0000b5 h icr05 interrupt control register 05 r/w! 00000111 b 0000b6 h icr06 interrupt control register 06 r/w! 00000111 b 0000b7 h icr07 interrupt control register 07 r/w! 00000111 b 0000b8 h icr08 interrupt control register 08 r/w! 00000111 b 0000b9 h icr09 interrupt control register 09 r/w! 00000111 b
mb90670/675 series 36 (continued) address abbreviated register name register name read/ write resource name initial value 0000ba h icr10 interrupt control register 10 r/w! interrupt controller 00000111 b 0000bb h icr11 interrupt control register 11 r/w! 00000111 b 0000bc h icr12 interrupt control register 12 r/w! 00000111 b 0000bd h icr13 interrupt control register 13 r/w! 00000111 b 0000be h icr14 interrupt control register 14 r/w! 00000111 b 0000bf h icr15 interrupt control register 15 r/w! 00000111 b 0000c0 h to 0000ff h (external area)* 2
37 mb90670/675 series descriptions for read/write r/w: readable and writable r: read only w: write only r/w!: bits for reading operation only or writing operation only are included. refer to the register lists for specific resource for detailed information. descriptions for initial value 0 : the initial value of this bit is 0. 1 : the initial value of this bit is 1. * : the initial value of this bit is 1 or 0 (decided by levels on pins of md0 through md2). x : the initial value of this bit is indeterminate. C : this bit is not used. the initial value is indeterminate. *1: access prohibited. *2: this area is the only external access area having an address of 0000ff h or lower. an access operation to this area is handled as that to external i/o area. *3: the area corresponding to the (vacancy) on the i/o map is reserved, and accessing operation to this area is handled as that to internal area. no access signal to external devices are generated. *4: only bit 15 is writable. reading bit 10 through bit 15 returns 0 as a reading result. *5: in the mb90670 series, p81 through p86, p90, p91, pa0 through pa7, pb0 through pb2 are not present. for this reason, bits corresponding to these pins are not used. *6: the mb90670 series does not have the i 2 c interface. for this reason, this area is (vacancy) in the mb90670 series. note: for bits that is only allowed to program, the initial value set by the reset operation is listed as an initial value. note that the values are different from reading results. for lpmcr/ckscr/wdtc, there are cases where initialization is performed or not performed, depending on the types of the reset. however initial value for resets that initializes the value are listed.
mb90670/675 series 38 n interrupt factors, interrupt vectors, interrupt control register (continued) interrupt source ei 2 os support interrupt vector interrupt control register priority* 4 number address icr address reset # 08 08 h ffffdc h high int9 instruction # 09 09 h ffffd8 h exception # 10 0a h ffffd4 h dtp/external interrupt circuit channel 0 # 11 0b h ffffd0 h icr00 0000b0 h * 2 dtp/external interrupt circuit channel 1 # 12 0c h ffffcc h dtp/external interrupt circuit channel 2 # 13 0d h ffffc8 h icr01 0000b1 h * 2 dtp/external interrupt circuit channel 3 # 14 0e h ffffc4 h output compare channel 0 # 15 0f h ffffc0 h icr02 0000b2 h * 2 output compare channel 1 # 16 10 h ffffbc h output compare channel 2 # 17 11 h ffffb8 h icr03 0000b3 h * 2 output compare channel 3 # 18 12 h ffffb4 h output compare channel 4 # 19 13 h ffffb0 h icr04 0000b4 h * 2 output compare channel 5 # 20 14 h ffffac h output compare channel 6 # 21 15 h ffffa8 h icr05 0000b5 h * 2 output compare channel 7 # 22 16 h ffffa4 h 24-bit free-run timer overflow # 23 17 h ffffa0 h icr06 0000b6 h * 2 24-bit free-run timer intermediate bit # 24 18 h ffff9c h input capture channel 0 # 25 19 h ffff98 h icr07 0000b7 h * 2 input capture channel 1 # 26 1a h ffff94 h input capture channel 2 # 27 1b h ffff90 h icr08 0000b8 h * 2 input capture channel 3 # 28 1c h ffff8c h 16-bit reload timer/ 8/16-bit ppg timer 0 # 29 1d h ffff88 h icr09 0000b9 h * 2, * 3 16-bit reload timer/ 8/16-bit ppg timer 1 # 30 1e h ffff84 h 8/10-bit a/d converter measurement complete # 31 1f h ffff80 h icr10 0000ba h wake-up interrupt # 33 21 h ffff78 h icr11 0000bb h * 2 timebase timer interval interrupt # 34 22 h ffff74 h low
39 mb90670/675 series (continued) : can be used : can not be used : can be used. with ei 2 os stop function. : can be used if interrupt request using icr are not commonly used. *1: in mb90670 series, this interrupt vector is not used because the series does not have the i 2 c interface. *2: ? interrupt levels for peripherals that commonly use the icr register are in the same level. ? when the extended intelligent i/o service (ei 2 os) is specified in a peripheral device commonly using the icr register, only one of the functions can be used. ? when the extended intelligent i/o service (ei 2 os) is specified for one of the peripheral functions, interrupts can not be used on the other function. *3: only 16-bit reload timer conforms to the extended intelligent i/o service (ei 2 os). because the 8/16-bit ppg timer does not conform to the extended intelligent i/o service (ei 2 os), disable interrupts of the 8/16-bit ppg timer when using the extended intelligent i/o service (ei 2 os) in the 16-bit reload timer. *4: the level shows priority of same level of interrupt invoked simultaneously. interrupt source ei 2 os support interrupt vector interrupt control register priority * 4 number address icr address uart1 (sci) transmission complete # 35 23 h ffff70 h icr12 0000bc h * 2 high uart0 transmission complete # 36 24 h ffff6c h uart1 (sci) reception complete # 37 25 h ffff68 h icr13 0000bd h * 2 i 2 c interface* 1 # 38 26 h ffff64 h uart0 reception complete # 39 27 h ffff60 h icr14 0000be h delayed interrupt generation module # 42 2a h ffff54 h icr15 0000bf h low
mb90670/675 series 40 n peripherals 1. i/o port (1) input/output port port 0 to 4, 6, 8, a, and b are general-purpose i/o ports having a combined function as an external bus pin and a resource input. the input output ports function as general-purpose i/o port only in the single-chip mode. in the external bus mode, the ports are configured as external bus pins, and part of pins for port 3 can be configured as general-purpose i/o port by setting the bus control signal select register (ecsr). each pin corresponding to upper 4-bit of the port 2 can be switched between a resource and a port bitwise. only mb90675 series has port a and port b. ? operation as output port the pin is configured as an output port by setting the corresponding bit of the ddr register to 1. writing data to pdr register when the port is configured as output, the data is retained in the output latch in the pdr and directly output to the pin. the value of the pin (the same value retained in the output latch of pdr) can be read out by reading the pdr register. note: when a read-modify-write instruction (e.g. bit set instruction) is performed to the port data register, the destination bit of the operation is set to the specified value, not affecting the bits configured by the ddr register for output, however, values of bits configured by the ddr register as inputs are changed because input values to the pins are written into the output latch. to avoid this situation, configure the pins by the ddr register as output after writing output data to the pdr register when configuring the bit used as input as outputs. ? operation as input port the pin is configured as an input by setting the corresponding bit of the ddr register to 0. when the pin is configured as an input, the output buffer is turned-off and the pin is put into a high-impedance status. when a data is written into the pdr register, the data is retained in the output latch of the pdr, but pin outputs are unaffected. reading the pdr register reads out the pin level (0 or 1). ? block diagram pdr (port data register) ddr (port direction register) pdr read pdr write ddr write ddr read direction latch output latch internal data bus standby control: stop, timebase timer mode and spl=1, or hardware standby mode standby control (spl=1) p-ch n-ch pin
41 mb90670/675 series (2) n-ch open-drain port port 5 and port 9 are general-purpose i/o ports having a combined function as resource input/output. each pin can be switched between resource and port bitwise. only mb90675 series has port 9. ? operation as output port when a data is written into the pdr register, the data is latched to the output latch of pdr. when the output latch value is set to 0, the output transistor is turned on and the pin status is put into an l level output, while writing 1 turns off the transistor and put the pin in a high-impedance status. if the output pin is pulled-up, setting output latch value to 1 puts the pin in the pull-up status. reading the pdr register returns the pin value (same as the output latch value in the pdr). note: execution of a read-modify-write instruction (e.g. bit set instruction) reads out the output latch value rather than the pin value, leaving output latch that is not manipulated unchanged. ? operation as input port setting corresponding bit of the pdr register to 1 turns off the output transistor and the pin is put into a high- impedance status. reading the pdr register returns the pin level (0 or 1). ? block diagram of port 5 internal data bus ader (analog input enable register) pdr (port data register) ader read ader write ader latch pdr write pdr read output latch standby control: stop, timebase timer mode and spl=1, or hardware standby mode standby control (spl=1) to analog input pin output trigger rmw (read-modify-write instruction) ? block diagram of port 9 internal data bus to resource input pdr write pdr read output latch pdr (port data register) from resource output output trigger standby control: stop, timebase timer mode and spl=1, or hardware standby mode pin rmw (read-modify- write instruc- tion) standby control (spl=1)
mb90670/675 series 42 (3) output port port 7 is a general-purpose output port having a combined function as an output compare (ocu) output. note that only ocu output can be output when the pin is configured as an output, and it is not used for outputting given data by writing to the data register. each pin can be switched between an output compare output and a port bitwise. ? operation as output port (operation of ocu output) setting the corresponding bit of the ddr register to 1 configures the pin as an output port. in this case, lower 4-bit of ccr01 and ccr register are output. when configured as an output, the output buffer is turned on and data retained in the output latch in the pdr of the output compare is output to the pin. writing data to dot bit of the ocu control register (ccr01, ccr11) corresponding to each pin writes data in synchronization to a match operation of the output compare and output to the pin. reading the pdr register returns the pin level (same as the output latch value of the pdr). when output of output compare is enabled, an output value from the output compare can be read out. ? operation as input port setting corresponding bit of the ddr register to 0 configures the pin as input port. when the pin is configured as an input port, the output buffer is turned off and the pin is put into a high- impedance status. reading the pdr register returns the pin level (0 or 1). ? block diagram ddr read ocu control register ocu control register write ddr (port direction register) direction latch standby control (spl=1) standby control: stop, timebase timer mode and spl=1, or hardware standby mode p-ch n-ch pdr (port data register) internal data bus pin ddr write pdr read
43 mb90670/675 series (4) register configuration (continued) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 (pdr1) (pdr3) (pdr5) (pdr7) (pdr9) (pdrb) p17 p16 p15 p14 p13 p12 p11 p10 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 p07 p06 p05 p04 p03 p02 p01 p00 p27 p26 p25 p24 p23 p22 p21 p20 r/w r/w r/w r/w r/w r/w r/w r/w p37 p36 p35 p34 p33 p32 p31 p30 (pdr0) (pdr2) (pdr4) (pdr6) (pdr8) (pdra) bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 p47 p46 p45 p44 p43 p42 p41 p40 p67 p66 p65 p64 p63 p62 p61 p60 p86 p85 p84 p83 p82 p81 p80 pa7 pa6 pa5 pa4 pa3 pa2 pa1 pa0 r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w p57 p56 p55 p54 p53 p52 p51 p50 p77 p76 p75 p74 p73 p72 p71 p70 p91p90 pb2 pb1 pb0 port 0 data register (pdr0) port 1 data register (pdr1) port 2 data register (pdr2) port 3 data register (pdr3) port 4 data register (pdr4) port 5 data register (pdr5) port 6 data register (pdr6) port 7 data register (pdr7) port 8 data register (pdr8) port 9 data register (pdr9) port a data register (pdra) port b data register (pdrb) address 000000 h address 000002 h address 000001 h address 000003 h address 000004 h address 000005 h address 000006 h address 000007 h address 000008 h address 000009 h address 00000a h address 00000b h r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w r/w
mb90670/675 series 44 (continued) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . note: only mb90675 series has p81 through p86, p90, pa0 through pa7, and pb0 through pb2, and mb90670 series does not have such pins. bit-15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w r/w r/w r/w r/w r/w r/w r/w p07 p06 p05 p04 p03 p02 p01 p00 port 0 data direction register (ddr0) address 000010 h (ddr1) p17 p16 p15 p14 p13 p12 p11 p10 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 r/w r/w r/w r/w r/w r/w r/w r/w (ddr0) port 1 data direction register (ddr1) address 000011 h (ddr3) bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 p27 p26 p25 p24 p23 p22 p21 p20 r/w r/w r/w r/w r/w r/w r/w r/w port 2 data direction register (ddr2) address 000012 h p37 p36 p35 p34 p33 p32 p31 p30 (ddr2) bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 port 3 data direction register (ddr3) address 000013 h r/w r/w r/w r/w r/w r/w r/w r/w (ader) bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 p47 p46 p45 p44 p43 p42 p41 p40 r/w r/w r/w r/w r/w r/w r/w r/w port 4 data direction register (ddr4) address 000014 h (ddr4) bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 p57 p56 p55 p54 p53 p52 p51 p50 analog input enable register (ader) address 000015 h r/w r/w r/w r/w r/w r/w r/w r/w (ddr7) bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 p67 p66 p65 p64 p63 p62 p61 p60 r/w r/w r/w r/w r/w r/w r/w r/w port 6 data direction register (ddr6) address 000016 h (ddr6) bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 p77 p76 p75 p74 p73 p72 p71 p70 port 7 data direction register (ddr7) address 000017 h r/w r/w r/w r/w r/w r/w r/w r/w (vacancy) bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 p86 p85 p84 p83 p82 p81 p80 r/w r/w r/w r/w r/w r/w r/w r/w port 8 data direction register (ddr8) address 000018 h bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pa7 pa6 pa5 pa4 pa3 pa2 pa1 pa0 r/w r/w r/w r/w r/w r/w r/w r/w port a data direction register (ddra) address 00001a h (ddrb) (ddra) bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 pb2 pb1 pb0 port b data direction register (ddrb) address 00001b h r/w r/w r/w r/w r/w r/w r/w r/w
45 mb90670/675 series 2. timebase timer the timebase timer is a 18-bit free-run counter (timebase counter) for counting up in synchronization to the internal count clock (divided-by-2 of oscillation) with an interval timer function for selecting an interval time from four types of 2 12 /hclk, 2 14 /hclk, 2 16 /hclk, and 2 19 /hclk. the timebase timer also has a function for supplying operating clocks for the timer output for the oscillation stabilization time or the watchdog timer etc. (1) register configuration (2) block diagram . . . . . . . . . . . . ? timebase timer control register (tbtc) resv bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 r/w r/w r/w w r/w r/w (wdtc) initial value 1--00100 b address 0000a9 h tbie tbof tbr tbc1 tbc0 : readable and writable : read only : unused r/w w . . . . . . to ppg timer timebase timer counter divided-by-2 of hclk power-on reset start stop mode ckscr : mcs = 1 ? 0* 1 counter clear circuit interval timer selector clear tbof set tbof timebase timer control register (tbtc) timebase timer interrupt signal #34(22 h )* 2 : overflow : oscillation clock : switch machine clock from oscillation clock to pll clock : interrupt number of hclk *1 *2 tbie tbr tbof tbc1 tbc0 to oscillation stabilization time selector of clock control block to watchdog timer of of of of 2 1 2 2 2 3 2 8 2 9 2 10 2 11 2 12 2 13 2 14 2 15 2 16 2 17 2 18
mb90670/675 series 46 3. watchdog timer the watchdog timer is a 2-bit counter operating with an output of the timebase timer and resets the cpu when the counter is not cleared for a preset period of time. (1) register configuration (2) block diagram ? watchdog timer control register (wdtc) address 0000a8 h bit 15 bit 8 ponr stbr wrst erst srst wte wt1 wt0 (tbtc) r : read only w: write only x : indeterminate bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 rrrrrwww ............ initial value xxxxx1 1 1 b hclk: oscillation clock ponr stbr wrst erst srst wte wt1 wt0 watchdog timer control register (wdtc) start sleep mode clr and start watchdog timer overflow to internal reset generation circuit counter clear control circuit count clock selector 2-bit counter watchdog reset generation circuit clear divided-by-2 of hclk (timebase timer counter) 2 1 2 2 ... 2 8 2 9 2 10 2 11 2 12 2 13 2 14 2 15 2 16 2 17 2 18 clr 2 4 clr start stop mode start hold status
47 mb90670/675 series 4. 8/16-bit ppg timer the 8/16-bit ppg timer is 2-channel reload timer module for outputting pulse having given frequencies/duty ratios. the two modules performs the following operation by combining functions. ? 8-bit ppg output 2-channel independent operation mode this is a mode for operating independent 2-channel 8-bit ppg timer, in which ppg0 and ppg1 pins correspond to outputs from ppg0 and ppg1 respectively. ? 16-bit ppg output operation mode in this mode, ppg0 and ppg1 are combined to be operated as a 1-channel 8/16-bit ppg timer operating as a 16-bit timer. because ppg0 and ppg1 outputs are reversed by an underflow from ppg1 outputting the same output pulses from ppg0 and ppg1 pins. ? 8 + 8-bit ppg output operation mode in this mode, ppg0 is operated as an 8-bit prescaler, in which an underflow output of ppg0 is used as a clock source for ppg1. a toggle output of ppg0 and ppg output of ppg1 are output from ppg0 and ppg1 respectively. the module can also be used as a d/a converter with an external add-on circuit. (1) register configuration ? ppg0 operating mode control register (ppgc0) ? ppg1 operating mode control register (ppgc 1) ? ppg reload register (prll0,prlh0,prll1,prlh1) address 000030 h bit 15 bit 8 pen0 poe0 pie0 puf0 pcm1 pcm0 resv (ppgc1) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w r/w r/w r/w r/w r/w r/w ............ address 000031 h bit 7 bit 0 pen1 pcs1 poe1 pie1 puf1 md1 md0 resv bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 ............ (ppgc0) address prlh0:000035 h prlh1:000037 h bit 15 bit 8 (prlh0,prlh1 ) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w r/w r/w r/w r/w r/w r/w r/w ............ r/w r/w r/w r/w r/w r/w r/w r/w bit 7 bit 0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 ............ (prll0,prll1) r/w r/w r/w r/w r/w r/w r/w r/w address prll0:000034 h prll1:000036 h r/w: readable and writable : unused x : indeterminate initial value xxxxxxxx b initial value xxxxxxxx b initial value 00000001 b initial value 0- 000001 b
mb90670/675 series 48 (2) block diagram ? block diagram of 8/16-bit ppg timer 0 prlh0 timebase timer output (512/hclk) peripheral clock (16/ f ) peripheral clock (4/ f ) peripheral clock (1/ f ) pen0 data bus for h digits poe0 pie0 puf0 pcm1 pcm0 resv data bus for l digits ppg0 operating mode control register (ppgc0) ppg0 reload register prll0 temporary buffer (prlbh0) reload selector (l/h selector) down counter (pcnt0) count value clear clk 2 select signal reload underflow pulse selector ppg0 output latch reverse ppg output control circuit mode control signal pin p46/ppg0 count clock selector ppg1 underflow ppg0 underflow (to ppg1) select signal * : interrupt number hclk : oscillation clock f : machine clock frequency 2 r sq interrupt request #29 (1d h )*
49 mb90670/675 series ? block diagram of 8/16-bit ppg timer 1 ppg1 underflow (to ppg0) timebase timer output (512/hclk) peripheral clock (1/ f ) * : interrupt number hclk : oscillation clock f : machine clock frequency prlh1 pen1 data bus for h digits pcs1 poe1 pie1 puf1 md1 md0 resv data bus for l digits ppg1 operating mode control register (ppgc1) prll1 temporary buffer (prlbh0) reload selector (l/h selector) down counter (pcnt1) ppg1 output latch pin count value clear 2 select signal reload underflow reverse ppg output control circuit p80/ppg1 count clock selector select signal r sq ppg1 reload register operating mode control signal ppg0 underflow clk md0 interrupt request #30 (1e h )*
mb90670/675 series 50 5. 16-bit reload timer the 16-bit reload timer has an internal clock mode for counting down in synchronization to three types of internal clocks and an event count mode for counting down detecting a given edge of the pulse input to the external bus pin, and either of the two functions can be selectively used. for this timer, an underflow is defined as the counter value of 0000 h to ffff h . according to this definition, an underflow occurs after [reload register setting value + 1] counts. in operating the counter, the reload mode for repeating counting operation after reloading a counter setting value after an underflow or the one-shot mode for stopping the counting operation after an underflow can be selectively used. because the timer can generate an interrupt upon an underflow, the timer conforms to the extended intelligent i/o service (ei 2 os). the mb90670/675 series has 2 channels of 16-bit reload timers. (1) register configuration initial value xxxxxxxx b xxxxxxxx b xxxxxxxx b xxxxxxxx b bit 7 bit 0 ? timer control status register upper digits (tmcsr0,tmcsr1 : h) address tmcsr0:000039 h tmcsr1:00003d h csl1 csl0 mod2 mod1 (tmcsr : l) r/w r/w r/w r/w bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 ............. initial value ----0000 b bit 15 bit 8 ? timer control status register lower digits (tmcsr0,tmcsr1 : l) address tmcsr0:000038 h tmcsr1:00003c h oute mod1 (tmcsr : h) r/w r/w r/w r/w r/w r/w r/w r/w bit 7 bit 6 bit 5 bit 4 initial value 00000000 b reld outl uf inte trg cnte ............. bit 3 bit 2 bit 1 bit 0 ? 16-bit timer register 0, 1 (tmr0,tmr1) address 00003a h 00003b h 00003e h 00003f h bit 15 initial value xxxxxxxx b xxxxxxxx b xxxxxxxx b xxxxxxxx b bit 14bit 13bit 12bit 11bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 rrrrrrrrrrrrrrrr ? 16-bit reload register 0, 1 (tmrl0,tmrl1) address 00003a h 00003b h 00003e h 00003f h bit 15bit 14bit 13bit 12bit 11bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 wwwwwwwwwwwwwwww r/w : readable and writable r : read only w : write only : unused x : indeterminate
51 mb90670/675 series (2) block diagram internal data bus tmrlr0* 1 16-bit reload register tmrr0* 1 reload signal reload control circuit 16-bit timer register (down counter) uf count clock generation circuit clk prescaler valid clock decision circuit clk gate input 3 f clear wait signal internal clock pin input control circuit clock selector output control circuit output generation circuit to uart0, 1* 1 reverse en pin p26/tot0* 1 p24/tin0* 1 external clock 3 2 function select select signal operation control circuit csl1csl0 mod2 mod1 mod0 oute outl reld inte uf cnte trg timer control status register (tmcsr0)* 1 interrupt request signal #29 (1dh)* 2 <#30 (1eh)> *1: the timer has ch.0 and ch.1, and listed in the parenthesis <> are for ch.1. *2: interrupt number f : machine clock frequency
mb90670/675 series 52 6. 24-bit free-run timer the 24-bit free-run timer is a 24-bit up counter for counting up in synchronization to divided-by-3 or divided-by- 4 of the machine clock, in which an interrupt factor can be selected from the overflow interrupt and four types of timer intermediate bit interrupt to be operated as an interval timer. the free-run timer can be used to generating reference timing signals for the input capture (icu) and output compare (ocu). (1) register configuration bit 7 bit 0 ? free-run timer control register upper digits (tccr : h) resv resv resv resv resv pr0 (tccr : l) r/w r/w r/w r/w r/w r/w bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 ............. initial value - - 111111 b bit 15 bit 8 ? free-run timer control register lower digits (tccr : l) clr stp (tccr : h) w w r/w r/w r/w r/w r/w r/w bit 7 bit 6 bit 5 bit 4 initial value 11000000 b ivfe ivf time tim tis0 tis1 ............. bit 3 bit 2 bit 1 bit 0 ? free-run timer upper data register (tcrh) address 000056 h 000057 h bit 15 initial value 00000000 b 00000000 b bit 14bit 13bit 12bit 11bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 rrrrrrrrrrrrrrrr r/w : readable and writable r : read only w : write only : unused address 000051 h address 000050 h t23 t22 t21 t20 t19 t18 t17 t16 ? free-run timer lower data register (tcrl) address 000054 h 000055 h bit 15 initial value 00000000 b 00000000 b bit 14bit 13bit 12bit 11bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 rrrrrrrrrrrrrrrr t15 t14 t13 t12 t11 t10 t9 t8 t7 t6 t5 t4 t3 t2 t1 t0
53 mb90670/675 series (2) block diagram internal data bus intermediate bit interrupt request signal #24 (18h)* * : interrupt number f : machine clock frequency 24-bit counter (tcr) output buffer t16 to t23 t0 to t15 8 to output compare (ocu) to input capture (icu) 16 tcrh tcrl upper 8-bit counter lower 16-bit counter carry carry 4 count clock selector intermediate bit interrupt control circuit prescaler select signal f f /3 f /4 pause carry detection overfolw resv resv resv resv resv pr0 stp clr ivf ivfe tim time tis1 tis0 free-run timer control register (tccr) overflow interrupt request signal #23 (17h)*
mb90670/675 series 54 7. input capture (icu) the input capture (icu) generates an interrupt request to the cpu simultaneously with a storing operation of current counter value of the 24-bit free-run timer to the icu data register (icdr) upon an input of a trigger edge to the external pin. there are four sets (four channels) of the input capture external pins and icu data registers (icdr), enabling measurements of maximum of four events. ? the input capture has four sets of external input pins (asr0 to asr3) and icu registers (icdr), enabling measurements of maximum of four events. ? a trigger edge direction can be selected from rising/falling/both edges. ? the input capture can be set to generate an interrupt request at the storage timing of the counter value of the 24-bit free-run timer to the icu data register (icdr). ? the input compare conforms to the extended intelligent i/o service (ei 2 os). ? the input capture function is suited for measurements of intervals (frequencies) and pulse-widths. (1) register configuration ? icu control register upper digits (icc : h) address 000053 h initial value 00000000 b ire3 ire2 ire1 ire0 ir3 ir2 ir1 ir0 (icc : l) bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 ............. r/w r/w r/w r/w r/w r/w r/w r/w ? icu control register lower digits (icc : l) address 000052 h initial value 00000000 b eg3b eg3a eg2b eg2a eg1b eg1a eg0b eg0a (icc : h) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bit 15 bit 8 ............ r/w r/w r/w r/w r/w r/w r/w r/w ? icu upper data register 0 to 3 (icdr0h to icdr3h) initial value 00000000 b bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 rrr rrrr r address icdr0h : 000063 h icdr1h : 000067 h icdr2h : 00006b h icdr3h : 00006f h address icdr0h : 000062 h icdr1h : 000066 h icdr2h : 00006a h icdr3h : 00006e h d23 d22 d21 d20 d19 d18 d17 d16 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 rrr rrrr r initial value xxxxxxxx b ? icu lower data register 0 to 3 (icdr0l to icdr3l) d15 d14 d13 d12 d11 d10 d9 d8 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 rrr rrrr r address icdr0l : 000061 h icdr1l : 000065 h icdr2l : 000069 h icdr3l : 00006d h address icdr0l : 000060 h icdr1l : 000064 h icdr2l : 000068 h icdr3l : 00006c h d7 d6 d5 d4 d3 d2 d1 d0 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 rrr rrrr r initial value xxxxxxxx b initial value xxxxxxxx b r/w : readable and writable r : read only : unused x : indeterminate
55 mb90670/675 series (2) block diagram internal data bus edge detection circuit data latch signal latch signal output latch icu data register (icdr) icdr0h icdr0l icdr1h icdr1l icdr2h icdr2l icdr3h icdr3l 24 24 24 24 24-bit free-run timer 2 2 2 2 p61/asr0 pin p65/asr1 pin p66/asr2 pin p67/asr3 pin icu control register (icc) #25 (19 h )* #26 (1a h )* #27 (1b h )* #28 (1c h )* input capature interrupt request signal *: interrupt number ire3 ire2 ire1 ire0 ir3 ir2 ir1 ir0 eg3b eg3a eg2b eg2a eg1a eg0b eg0a eg1b
mb90670/675 series 56 8. output compare (ocu) the output compare (ocu) is two sets of compare units consisting of four-channel ocu compare data registers, a comparator and a control register. an interrupt request can be generated for each channel upon a match detection by performing time-division comparison between the ocu compare data register setting value and the counter value of the 24-bit free-run timer. the dot pin can be used as a waveform output pin for reversing output upon a match detection or a general- purpose output port for directly outputting the setting value of the dot bit. (1) register configuration (continued) initial value 11110000 b md3 md2 md1 md0 (ccr00 : l) ? ocu control register 00 upper digits (ccr00 : h) bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 r/w r/w r/w r/w address 000059 h initial value - - - - 0000 b ............. resv resv resv resv cpe3 cpe2 cpe1 cpe0 (ccr00 : h) ? ocu control register 00 lower digits (ccr00 : l) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bit 15 bit 8 r/w r/w r/w r/w r/w r/w r/w r/w address 000058 h ............ initial value 00000000 b ice3 ice2 ice1 ice0 ic3 ic2 ic1 ic0 (ccr01 : l) ? ocu control register 01 upper digits (ccr01 : h) bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 r/w r/w r/w r/w r/w r/w r/w r/w address 00005b h initial value - - - - 0000 b ............. dot3 dot2 dot1 dot0 (ccr01 : h) ? ocu control register 01 lower digits (ccr01 : l) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 bit 15 bit 8 r/wr/wr/wr/w address 00005a h ............ r/w : readable and writable : unused
57 mb90670/675 series (continued) ? ocu compare upper data register 0 to 7 (cpr00h to cpr07h) ? ocu compare lower data register 0 to 7 (cpr00l to cpr07l) initial value 00000000 b address cpr00h : 000073 h cpr01h : 000077 h cpr02h : 00007b h cpr03h : 00007f h cpr04h : 000083 h cpr05h : 000087 h cpr06h : 00008b h cpr07h : 00008f h bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 r/w r/w r/w r/w r/w r/w r/w r/w d23 d22 d21 d20 d19 d18 d17 d16 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w r/w r/w r/w r/w r/w r/w r/w initial value 00000000 b address cpr00h : 000072 h cpr01h : 000076 h cpr02h : 00007a h cpr03h : 00007e h cpr04h : 000082 h cpr05h : 000086 h cpr06h : 00008a h cpr07h : 00008e h initial value 00000000 b address cpr00l : 000071 h cpr01l : 000075 h cpr02l : 000079 h cpr03l : 00007d h cpr04l : 000081 h cpr05l : 000085 h cpr06l : 000089 h cpr07l : 00008d h d15 d14 d13 d12 d11 d10 d9 d8 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 r/w r/w r/w r/w r/w r/w r/w r/w d7 d6 d5 d4 d3 d2 d1 d0 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w r/w r/w r/w r/w r/w r/w r/w initial value 00000000 b address cpr00l : 000070 h cpr01l : 000074 h cpr02l : 000078 h cpr03l : 00007c h cpr04l : 000080 h cpr05l : 000084 h cpr06l : 000088 h cpr07l : 00008c h r/w : readable and writable : unused
mb90670/675 series 58 (2) block diagram of output compare (ocu) ? overall block diagram output compare unit 00 to 03 (unit 0) free-run timer data match0 to match3 t1 to t23 rb15 to rb0 ext0 to ext3 icomp0 to icomp3 dot0 to dot3 output compare unit 04 to 07 (unit 1) match4 to match7 t1 to t23 rb15 to rb0 ext0 to ext3 icomp4 to icomp7 dot4 to dot7 open interrupt request (icomp0 to icomp3) interrupt request (icomp4 to icomp7) p70/dot0 to p73/dot3 p74/dot4 to p77/dot7 pin pin output compare unit internal data bus 23 16 4 4 16 4 4 4 4
59 mb90670/675 series ? block diagram of unit 0 internal data bus ocu control register 00 (ccr00) md3 md2 md1 md0 resv resv resv cpe3 cpe2 cpe1 cpe0 compare circuit 24-bit free-run timer compare control block data latch bit 23 to bit 2 compare control t1 t0 general-purpose port/ compare pin switching cpr00h cpr01h cpr02h cpr03h cpr00l cpr01l cpr02l cpr03l ocu compare data register 0 to 3 ic3 ic2 ic1 ic0 dot3 dot2 dot1 dot0 ice3 ice2 ice1 ice0 ocu control register 01 (ccr01) #15 (0f h )* #16 (10 h )* #17 (11 h )* #18 (12 h )* output compare interrupt request signal match operation enabled match0 to match3 (to unit 1) output control circuit clock selector output latch pin pin pin pin p73/dot3 p72/dot2 p71/dot1 p70/dot0 * : interrupt number 4 4 4 2 4 4 resv match signal
mb90670/675 series 60 ? block diagram of unit 1 internal data bus ocu control register10 (ccr10) md3 md2 md1 md0 sel1 sel2 sel0 cpe3 cpe2 cpe1 cpe0 sel3 general-purpose port/compare pin switching match0 to match3 (from unit 0) 24-bit free-run timer compare control block bit 23 to bit 2 compare control t1 t0 data latch cpr04h cpr05h cpr06h cpr07h cpr04l cpr05l cpr06l cpr07l ocu compare data register 4 to 7 ic3 ic2 ic1 ic0 dot3 dot2 dot1 dot0 ice3 ice2 ice1 ice0 ocu control register 11 (ccr11) #19 (13 h )* #20 (14 h )* #21 (15 h )* #22 (16 h )* output compare interrupt request signal * : interrupt number match operation enabled 2 output control circuit clock selector factor selector output latch pin pin pin pin p77/dot7 p76/dot6 p75/dot5 p74/dot4 4 4 4 4 4 4 4 4 match signal compare circuit
61 mb90670/675 series 9. i 2 c interface (included only in mb90675 series) the i 2 c interface is a serial i/o port supporting inter ic bus operating as master/slave devices on i 2 c bus and has the following features. ? master/slave transmission/reception ? arbitration function ? clock synchronization function ? slave address/general call address detection function ? transmission direction detection function ? repeated generation function start condition and detection function ? bus error detection function (1) register configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ?i 2 c bus status register (ibsr) bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 (ibcr) ber beie scc mss ack gcaa inte int bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 rrrrrrrr r/w r/w r/w r/w r/w r/w r/w r/w bb rsc al lrb trx aas gca fbt (ibsr) initial value 00000000 b address 000040 h address 000041 h initial value 00000000 b bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 (iadr) r/w en cs4 cs3 cs2 cs1 cs0 initial value --0xxxxx b address 000042 h r/w r/w r/w r/w r/w ?i 2 c bus control register (ibcr) ?i 2 c bus clock control register (iccr) a6a5 a4 a3a2a1 a0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 0 r/w r/w r/w r/w r/w r/w r/w (iccr) address 000043 h initial value -xxxxxxx b (iadr) bit 15 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 (reserved area) d7 initial value xxxxxxxx b address 000044 h r/w r/w r/w r/w r/w d6 d5 d4 d3 d2 d1 d0 r/w r/w r/w (idar) : readable and writable : read only : uunsed : indeterminate r/w r x ?i 2 c address register (iadr)
mb90670/675 series 62 (2) block diagram internal data bus i 2 c bus control register (ibcr) i 2 c bus status register (ibsr) ber beie scc mss ack gcaa inte int bb rsc al lrb trx aas gca fbt error start master ack enable gc-ack enable interrupt enable transmission enable flag bus busy repeat start last bit transmit/receive slave general call detection of first byte number of interrupt request generated start stop condition generation circuit start stop condition detection circuit interrupt request signal #38 (26 h )* sda line ccl line pin p90/sda pin p91/scl i 2 c enable idar register slave address comparison circuit iadr register arbitration lost detection circuit clock control block 4 f clock divider 1 (1/5 to 1/8) count clock selector 1 clock divider 2 count clock selector 2 shift clock generation circuit sync 8 i 2 c enable en cs4 cs3 cs2 cs1 cs0 i 2 c bus clock control register (iccr) f : machine clock frequency * : interrupt number
63 mb90670/675 series 10. uart0 uart0 is a general-purpose serial data communication interface for performing synchronous or asynchronous communication (start-stop synchronization system). in addition to the normal duplex communication function (normal mode), uart0 has a master/slave type communication function (multi-processor mode). ? data buffer: full-duplex double buffer ? transfer mode: clock synchronized (with start and stop bit) clock asynchronized (start-stop synchronization system) ? baud rate: with dedicated baud rate generator, selectable from 12 types external clock input possible internal clock (a clock supplied from 16-bit reload timer can be used.) ? data length: 7 bits to 9 bits selective (with a parity bit) 6 bits to 8 bits selective (without a parity bit) ? signal format: nrz (non return to zero) system ? reception error detection: framing error overrun error parity error (not available in multi-processor mode) ? interrupt request: receive interrupt (reception complete, receive error detection) receive interrupt (transmission complete) transmit/receive conforms to extended intelligent i/o service (ei 2 os) ? master/slave type communication function (multi-processor mode): 1 (master) to n (slave) communication possible (1) register configuration ? status register 0 (usr0) rdrf orfe pe tdre rie tie rbf tbf r/w r/w r/w r/w r/w r/w r/w r/w bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 address 000021 h initial value 00100000 b (umc0) bit 7 bit 0 ............. ? mode control register 0 (umc0) pen sbl mc1 mc0 smde rfc scke soe r/w r/w r/w r/w r/w r/w r/w r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 address 000020 h initial value 00000100 b (usr0) bit 15 bit 8 ............ ? rate and data register 0 (urd0) bch rc3 rc2 rc1 rc0 bch0 p d8 r/w r/w r/w r/w r/w r/w r/w r/w bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 address 000023 h initial value 00000000 b (uidr0/uodr0) bit 7 bit 0 ............. ? input data register 0 (uidr0) d7 d6 d5 d4 d3 d2 d1 d0 rr rrrr rr bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 address 000022 h initial value xxxxxxxx b (urd0) bit 15 bit 9 .... . bit 8 d8 r ? output data register 0 (uodr) d7 d6 d5 d4 d3 d2 d1 d0 ww wwww ww bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 address 000022 h initial value xxxxxxxx b (urd0) bit 15 bit 9 .... . bit 8 d8 w r/w : readable and writable r : read only w : write only x : indeterminate
mb90670/675 series 64 (2) block diagram clock selector dedicated baud rate generator 16-bit reload timer 0 pin p42/sck0 pin p40/sin0 receive condition decision circuit umc0 register usr0 register urd0 register receive clock receive control circuit start bit detection circuit receive bit counter receive parity counter shift register for reception uidr0 uodr0 transmit clock transmit control circuit transmit start circuit transmit bit counter transmit parity counter shift register for transmission receive interrupt signal #39 (27 h )* transmit interrupt signal #36 (24 h )* pin p42/sot0 start transmission to e i 2 os reception error generation signal (to cpu) internal data bus pen sbl mc1 mc0 smde rfc scke soe rdrf orfe pe tdre rie tie rbf tbf bch rc2 rc1 rc0 bch0 p d8 * : interrupt number control bus reception complete rc3
65 mb90670/675 series 11. uart1 (sci) uart1 (sci) is a general-purpose serial data communication interface for performing synchronous or asynchronous communication (start-stop synchronization system). in addition to the normal duplex communication function (normal mode), uart1 has a master-slave type communication function (multi- processor mode). ? data buffer: full-duplex double buffer ? transfer mode: clock synchronized (no start or stop bit) clock asynchronized (start-stop synchronization system) ? baud rate: with dedicated baud rate generator, selectable from 8 types external clock input possible internal clock (a internal clock supplied from 16-bit reload timer can be used.) ? data length: 7 bits (for asynchronous normal mode only) 8 bits ? signal format: nrz (non return to zero) system ? reception error detection: framing error overrun error parity error (not available in multi-processor mode) ? interrupt request: receive interrupt (receptioncomplete, receive error detection) receive interrupt (transmission complete) transmit/receive conforms to extended intelligent i/o service (ei 2 os) ? master/slave type communication function (multi-processor mode):1 (master) to n (slave) communication possible (supported only for master station) (1) register configuration ? control register 1 (scr1) r/w: readable and writable r : read only w : write only : unused x : indeterminate address 000025 h bit 7 bit 0 pen initial value 00000100 b p sbl cl a/d rec rxe txe (smr1) bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 r/w r/w r/w r/w r/w r/w r/w r/w ............ address 000024 h bit 15 bit 8 (scr1) initial value 00000000 b ............ md0 cs2 cs1 cs0 bch scke soe r/w r/w r/w r/w r/w r/w r/w r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 md1 address 000027 h bit 7 bit 0 pe initial value 00001-00 b ore fre rdrf tdre rie tie (sidr1/sodr1) bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 rrrrrr/wr/w ............ address 000026 h bit 15 bit 8 (ssr1) initial value xxxxxxxx b ............ d6 d5 d4 d3 d2 d1 d0 rrrrrrrr bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 d7 address 000026 h bit 15 bit 8 (ssr1) initial value xxxxxxxx b ............ d6 d5 d4 d3 d2 d1 d0 wwwwwwww bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 d7 ? mode register 1 (smr1) ? status register 1 (ssr1) ? input data register 1 (sidr1) ? output data register 1 (sodr1)
mb90670/675 series 66 (2) block diagram *: interrupt number pin clock selector md1 md0 cs2 cs1 cs0 bch scke soe i n t e r n a l d a t a b u s pen p sbl cl a/d rec rxe txe pe ore fre rdrf tdre rie tie start transmission transmit control circuit transmit clock receive clock receive control circuit receive interrupt signal #37 (25 h )* transmit interrupt signal #35 (23 h )* dedicated baud rate generator 16-bit reload timer 1 p45/sck1 pin p43/sin1 pin p44/sot1 start bit detection circuit receive bit counter receive parity counter transmit start circuit transmit bit counter transmit parity counter shift register for reception shift register for transmission sidr1 receive condition decision circuit sodr1 reception complete to ei 2 os reception error generation signal (to cpu) smr1 register scr1 register ssr1 register control bus
67 mb90670/675 series 12. dtp/external interrupt circuit the dtp (data transfer peripheral)/external interrupt circuit is located between peripheral equipment connected externally and the f 2 mc-16l cpu and transmits interrupt requests or data transfer requests generated by peripheral equipment to the cpu, generates external interrupt request and starts the extended intelligent i/o service (ei 2 os). (1) register configuration ? dtp/interrupt factor register (eirr) address 000029 h bit 7 bit 0 er3 er2 er1 er0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 ............ (enir) initial value ----0000 b r/w r/w r/w r/w address 000028 h bit 15 bit 8 en3 en2 en1 en0 (eirr) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ............ r/wr/wr/wr/w initial value ----0000 b address 00002a h bit 15 bit 8 lb3 la3 lb2 la2 lb1 la1 lb0 la0 (vacancy) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ............ r/w r/w r/w r/w r/w r/w r/w r/w initial value 00000000 b ? dtp/interrupt enable register (enir) ? request level setting register (elvr) r/w: readable and writable : unused
mb90670/675 series 68 (2) block diagram #14 (0e h )* #13 (0d h )* #14 (0c h )* #11 (0b h )* pin request level setting register (elvr) p60/int0 pin p61/int1 pin p62/int2 pin p63/int3 lb3 la3 lb2 la2 lb1 la1 lb0 la0 level edge selector 3 level edge selector 1 level edge selector 2 level edge selector 0 dtp/external interrupt input detection circuit dtp/interrupt factor register (eirr) dtp/interrupt enable register (enir) *: interrupt signal i n t e r n a l d a t a b u s interrupt request signal er3 er2 er1 er0 en3 en2 en1 en0 22 2 2
69 mb90670/675 series 13. wake-up interrupt wake-up interrupts transmits interrupt request (l level) generated by peripheral device located between external peripheral devices and the f 2 mc-16l cpu to the cpu and invokes interrupt processing. the interrupt does not conform to the extended intelligent i/o service (ei 2 os). (1) register configuration (2) block diagram bit 7 bit 0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 ............ ? wake-up interrupt flag register (eifr) address 00000f h wif (vacancy) initial value -------0 b r/w: readable and writable : unused r/w ? wake-up interrupt enable register (eicr) en7 en6 en5 en4 en3 en2 en1 en0 (vacancy) bit 7 bit 0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 ............ address 00001f h initial value 00000000 b r/w r/w r/w r/w r/w r/w r/w r/w p10/ad08/wi0 pin wake-up interrupt enable register (eicr) interrupt request detection circuit internal data bus wake-up interrupt flag register (eifr) *: interrupt number wake-up interrupt request #33 (21 h )* pin pin pin pin pin pin pin en7 en6 en5 en4 en3 en2 en1 en0 wif p11/ad09/wi1 p12/ad10/wi2 p13/ad11/wi3 p14/ad12/wi4 p15/ad13/wi5 p16/ad14/wi6 p17/ad15/wi7
mb90670/675 series 70 14. delayed interrupt generation module the delayed interrupt generation module generates interrupts for switching tasks for development on a real- time operating system (realos software). the module can be used to generate hardware interrupt requests to the cpu with software and cancel the interrupt requests. this module does not conform to the extended intelligent i/o service (ei 2 os). (1) register configuration (2) block diagram ? delayed interrupt factor generation/cancellation register (dirr) address 00009f h bit 7 bit 0 r0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 ............ (reserved area) r/w initial value -------0 b r/w: readable and writable : unused delayed interrupt factor generation/ cancellation register (dirr) *: interrupt signal s factor r0 internal data bus interrupt request signal #42 (2a h )* r latch
71 mb90670/675 series 15. 8/10-bit a/d converter the 8/10-bit a/d converter has a function of converting analog voltage input to the analog input pins (input voltage) to digital values (a/d conversion) and has the following features. ? minimum conversion time: 6.13 m s (at machine clock of 16 mhz, including sampling time) ? minimum sampling time: 3.75 m s (at machine clock of 16 mhz) ? conversion method: rc successive approximation method with a sample and hold circuit. ? resolution: 10-bit or 8-bit selective ? analog input pins: selectable from eight channels by software one-shot conversion mode:stops conversion after completing a conversion for a stopped channel (one channel only) or for successive channels (maximum of eight channels can be specified) continuous conversion mode:continues conversions for a specified channel (one channel only) or for successive channels (maximum of eight channels can be specified) stop conversion mode:stops conversion after completing a conversion for one channel and wait for the next activation. ? interrupt requests can be generated and the extended intelligent i/o service (ei 2 os) can be started after the end of a/d conversion. ? when interrupts are enabled, there is no loss of data even in continuous operations because the conversion data protection function is in effect. ? starting factors for conversion: selected from software activation, 16-bit reload timer 1 output (rising edge), and external trigger (falling edge). (1) register configuration ? a/d control status register upper digits (adcs: h) address 00002d h bit 7 bit 0 busy int inte paus sts1 sts0 strt resv bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 ............ (adcs: l) r/wr/wr/wr/wr/wr/w w r/w address 00002c h bit 15 bit 8 md1 md0 ans2 ans1 ans0 ane2 ane1 ane0 (adcs: h) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w r/w r/w r/w r/w r/w r/w r/w ............ r/w: readable and writable r : read only w : write only : unused x : indeterminate ? a/d control status register lower digits (adcs: l) address 00002e h s10 ? a/d data register (adcr) d9d8d7d6d5d4d3d2d1d0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w r r r r r r r r r r initial value 00000000 b initial value 00000000 b initial value xxxxxxxx b 0000000x b
mb90670/675 series 72 (2) block diagram f : machine clock frequency to : 16-bit reload timer channel 1 output * : interrupt number interrupt request signal #31 (1f h )* clock selector decoder sample hold circuit control circuit d/a converter analog channel selector comparator a/d data register (adcr) avr av cc av ss p47/atg to a/d control status register (adcs) busy int inte paus sts1 sts0 strt resv md1 md0 ans2 ans1 ans0 ane2 ane1 ane0 s10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 i n t e r n a l d a t a b u s p57/an7 p56/an6 p55/an5 p54/an4 p53/an3 p52/an2 p51/an1 p50/an0 2 6 f
73 mb90670/675 series 16. low-power consumption (standby) mode the f 2 mc-16l has the following cpu operating mode configured by selection of an operating clock and clock operation control. ? clock mode pll clock mode: a mode in which the cpu and peripheral equipment are driven by pll-multiplied oscillation clock (hclk). main clock mode: a mode in which the cpu and peripheral equipment are driven by divided-by-2 of the oscillation clock (hclk). the pll multiplication circuits stops in the mainclock mode. ? cpu intermittent operation mode the cpu intermittent operation mode is a mode for reducing power consumption by operating the cpu intermittently while external bus and peripheral functions are operated at a high-speed. ? hardware stand-by mode the hardware standby mode is a mode for reducing power consumption by stopping clock supply (sleep mode) to the cpu by the low-power consumption control circuit, stopping clock supplies to the cpu and peripheral functions (timebase timer mode), and stopping oscillation clock (stop mode, hardware standby mode). of these modes, modes other than the pll clock mode are power consumption modes. (1) register configuration ? clock select register (ckscr) address 0000a1 h bit 7 bit 0 resv mcm ws1 ws0 resv mcs cs1 cs0 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 ............ (lpmcr) r/w r r/w r/w r/w r/w w r/w address 0000a0 h bit 15 bit 8 stp slp spl rst resv cg1 cg0 resv (ckscr) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 w w r/w w r/w r/w r/w r/w ............ r/w: readable and writable r : read only w : write only ? low-power consumption mode control register (lpmcr) initial value 00011000 b initial value 11111100 b
mb90670/675 series 74 (2) block diagram pin hi-z control low-power consumption mode control register (lpmcr) internal reset select intermittent cycle cpu clock stop and sleep signal stop signal main clock clock selection register (ckscr) clock selector cancellation of oscillation stabilization time machine clock cancellation of interrupt cancellation of reset rst hst cpu intermittent operation selector standby control circuit rst internal reset generation circuit pin pin x0 pin x1 pin stp slp spl rst resv cg1 cg0 resv resv mcm ws1 ws0 resv mcs cs1 cs0 pin high-impedance control circuit cpu clock control circuit peripheral clock control circuit divided -by-2 divided -by-2048 divided -by-4 divided -by-4 divided -by-8 peripheral clock timebase timer system clock generation circuit clock generation block oscillation stabilization time selector 2 2 2 pll multiplication circuit
75 mb90670/675 series n electrical characteristics 1. absolute maximum ratings (av ss = v ss = 0.0 v) *1: av cc , avrh, and avrl shall never exceed v cc . avrl shall never exceed avrh. *2: v i and v o shall never exceed v cc + 0.3 v. *3: the maximum output current is a peak value for a corresponding pin. *4: average output current is an average current value observed for a 100 ms period for a corresponding pin. *5: total average current is an average current value observed for a 100 ms period for all corresponding pins. warning: semiconductor devices can be permanently damaged by application of stress (voltage, current, temperature, etc.) in excess of absolute maximum ratings. do not exceed these ratings. parameter symbol value unit remarks min. max. power supply voltage v cc v ss C 0.3 v ss + 7.0 v av cc v ss C 0.3 v ss + 7.0 v *1 avrh, avrl v ss C 0.3 v ss + 7.0 v *1 input voltage v i v ss C 0.3 v cc + 0.3 v *2 output voltage v o v ss C 0.3 v cc + 0.3 v *2 l level maximum output current i ol ? 15 ma *3 l level average output current i olav ? 4ma*4 l level total maximum output current s i ol ? 100 ma l level total average output current s i olav ? 50 ma *5 h level maximum output current i oh ? C15 ma *3 h level average output current i ohav ? C4 ma *4 h level total maximum output current s i oh ? C100 ma h level total average output current s i ohav ? C50 ma *5 power consumption p d ? 400 mw operating temperature t a C40 +85 c storage temperature tstg C55 +150 c
mb90670/675 series 76 2. recommended operating conditions (av ss = v ss = 0.0 v) warning: the recommended operating conditions are required in order to ensure the normal operation of the semiconductor device. all of the device's electrical characteristics are warranted when the device is operated within these ranges. always use semiconductor devices within their recommended operating condition ranges. operation outside these ranges may adversely affect reliability and could result in device failure. no warranty is made with respect to uses, operating conditions, or combinations not represented on the data sheet. users considering application outside the listed conditions are advised to contact their fujitsu representatives beforehand. parameter symbol value unit remarks min. max. power supply voltage v cc 2.7 5.5 v normal operation v cc 2.0 5.5 v retains status at the time of operation stop operating temperature t a C40 +85 c
77 mb90670/675 series 3. dc characteristics (av cc = v cc = 2.7 v to 5.5 v, av ss = v ss = 0.0 v, t a = C40 c to +85 c) (continued) parameter symbol pin name condition value unit remarks min. typ. max. h level input voltage v ih pins other than v ihs and v ihm 0.7 v cc v cc + 0.3 v v ihs hysteresis input pins p24 to p27, p40 to p47, p60 to p67, p70 to p77, p80, hst , rst 0.8 v cc v cc + 0.3 v mb90670 series v ihs hysteresis input pins p24 to p27, p40 to p47, p60 to p67, p70 to p77, p80 to p86, hst , rst , p90, p91, pa0 to pa7, pb0 to pb2 0.8 v cc v cc + 0.3 v mb90675 series v ihm md pin input v cc C 0.3 v cc + 0.3 v l level input voltage v il pins other than v ils and v ilm v ss C 0.3 0.3 v cc v v ils hysteresis input pins p24 to p27, p40 to p47, p60 to p67, p70 to p77, p80, hst , rst v ss C 0.3 0.2 v cc v mb90670 series v ils hysteresis input pins p24 to p27, p40 to p47, p60 to p67, p70 to p77, p80 to p86, hst , rst , p90, p91, pa0 to pa7, pb0 to pb2 v ss C 0.3 0.2 v cc v mb90675 series v ilm md pin input v ss C 0.3 v ss + 0.3 v h level output voltage v oh other than p50 to p57 v cc = 4.5 v i oh = C4.0 ma v cc C 0.5 v v oh other than p50 to p57 v cc = 2.7 v i oh = C1.6 ma v cc C 0.3 v l level output voltage v ol all output pins v cc = 4.5 v i ol = 4.0 ma 0.4v v ol all output pins v cc = 2.7 v i ol = 2.0 ma 0.4v open-drain output leakage current i leak p50 to p57, p90, p91 *1 0.110 m a input leakage current i il other than p50 to p57, p90 and p91 v cc = 5.5 v v ss < v i < v cc C10 10 m a pull-up resistance rv cc = 5.0 v 25 45 100 k w rv cc = 3.0 v 40 95 200 k w
mb90670/675 series 78 (continued) (av cc = v cc = 2.7 v to 5.5 v, av ss = v ss = 0.0 v, t a = C40 c to +85 c) *1: only mb90675 series has p90 and p91 pins. *2: the current value is preliminary value and may be subject to change for enhanced characteristics without previous notice. parameter symbol pin name condition value unit remarks min. typ. max. pull-down resistance rv cc = 5.0 v 25 50 200 k w rv cc = 3.0 v 40 100 400 k w power supply current i cc internal operation at 16 mhz v cc at 5.0 v 5070ma normal operation* 2 i ccs internal operation at 16 mhz v cc at 5.0 v 1030ma in sleep mode* 2 i cc internal operation at 8 mhz v cc at 3.0 v 1220ma normal operation* 2 i ccs internal operation at 8 mhz v cc at 3.0 v 2.510ma in sleep mode* 2 i cch t a = +25 c0.110 m a in stop mode and hardware standby mode* 2 input capacitance c in other than av cc , av ss , v cc , v ss 10pf
79 mb90670/675 series 4. ac characteristics (1) reset input timing, hardware standby input timing (av cc = v cc = 2.7 v to 5.5 v, av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : for t cp (internal operating clock cycle time), refer to (3) clock timings. parameter symbol pin name condition value unit remarks min. max. reset input time t rstl rst 16 t cp * ns hardware standby input time t hstl hst 16 t cp * ns 0.2 v cc t rstl , t hstl rst hst 0.2 v cc ? measurement conditions for ac ratings pin c l c l is a load capacitance connected to a pin under test. clk, ale: c l = 30 pf address data bus (ad15 to ad00), rd , wr : c l = 80 pf
mb90670/675 series 80 (2) specification for power-on reset (av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : v cc must be kept lower than 0.2 v before power-on. notes: ? the above ratings are values for causing a power-on reset. ? when hst is set to l level, apply power according to this table to cause a power-on reset irrespective of whether or not a power-on reset is required. ? for built-in resources in the device, re-apply power to the resources to cause a power-on reset. ? there are internal registers which can be initialized only by a power-on reset. apply power according to this rating to ensure initialization of the registers. parameter symbol pin name condition value unit remarks min. max. power supply rising time t r v cc 30ms* power supply cut-off time t off v cc 1ms due to repeated operations v cc t off 0.2 v 2.7 v 0.2 v 0.2 v t r ram data retained v ss sudden changes in the power supply voltage may cause a power-on reset. to change the power supply voltage while the device is in operation, it is recommended to raise the voltage smoothly to suppress fluctuations as shown below. main power supply voltage sub power supply voltage it is recommended to keep the rising speed of the supply voltage at 50 mv/ms or slower. v cc
81 mb90670/675 series (3) clock timing ? operation at 5.0 v 10% (av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : the frequency fluctuation rate is the maximum deviation rate of the preset center frequency when the multiplied pll signal is locked. the pll frequency deviation changes periodically from the preset frequency (about clk (1cyc to 50 cyc), thus minimizing the chance of worst values to be repeated (errors are minimal and negligible for pulses with long intervals). parameter symbol pin name condition value unit remarks min. typ. max. clock frequency f c x0, x1 332mhz clock cycle time t c x0, x1 31.25 333 ns input clock pulse width p wh , p wl x0 10 ns recommended duty ratio of 30% to 70% input clock rising/falling time t cr , t cf x0 5 ns internal operating clock frequency f cp 1.516mhz internal operating clock cycle time t cp 62.5 666 ns frequency fluctuation rate locked d f p37/clk 3 % * | a | f o center frequency + C + a f o C a d f = 100 (%)
mb90670/675 series 82 ? operation at v cc = 2.7 v (minimum value) (av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : the frequency fluctuation rate is the maximum deviation rate of the preset center frequency when the multiplied pll signal is locked. the pll frequency deviation changes periodically from the preset frequency (about clk (1cyc to 50 cyc), thus minimizing the chance of worst values to be repeated (errors are minimal and negligible for pulses with long intervals). parameter symbol pin name condition value unit remarks min. typ. max. clock frequency f c x0, x1 316mhz clock cycle time t c x0, x1 62.5 333 ns input clock pulse width p wh , p wl x0 20 ns recommended duty ratio of 30% to 70% input clock rising/falling time t cr , t cf x0 5 ns internal operating clock frequency f cp 1.58mhz internal operating clock cycle time t cp 125 666 ns frequency fluctuation rate locked d f p37/clk 3 % * | a | f o center frequency + C + a f o C a d f = 100 (%)
83 mb90670/675 series the ac ratings are measured for the following measurement reference voltages. ? clock timing p wh 0.2 v cc 0.8 v cc 0.8 v cc 0.8 v cc 0.2 v cc p wl t cf t cr t c note: the operation guarantee range on the lower voltage is 2.7 v for the evaluation chips. ? pll operation guarantee range relationship between internal operating clock frequency and power supply voltage 1.5 8 316(mhz) internal clock f cp 5.5 4.5 3.3 2.7 p o w e r s u p p l y v o l t a g e v c c (v) normal operation range pll operation guarantee range relationship between clock frequency, internal operating clock frequency, and power supply voltage (mhz) multiplied-by-4 multiplied-by-3 not multiplied multiplied- by-2 multiplied-by-1 i n t e r n a l c l o c k f c p oscillation clock f c 3 4 8 16 24 32 (mhz) ? input signal waveform ? output signal waveform 0.8 v cc 0.2 v cc hystheresis input pin 0.7 v cc 0.3 v cc pins other than hystheresis input/md input output pin 2.4 v 0.8 v
mb90670/675 series 84 (4) recommended resonator manufacturers ? sample application of piezoelectric resonator (far family) inquiry: fujitsu limited far part number (built-in capacitor type) frequency (mhz) dumping resistor initial deviation of far frequency (t a = +25 c) temperature characteristics of far frequency (t a = C20 c to +60 c) loading capacitors* 2 far-c4 c-2000- 20 2.00 510 w 0.5% 0.5% built-in far-c4 a-4000- 01 4.00 0.5% 0.5% built-in far-c4 b-4000- 02 4.00 0.5% 0.5% built-in far-c4 b-4000- 00 4.00 0.5% 0.5% built-in far-c4 b-8000- 02 8.00 0.5% 0.5% built-in far-c4 b-12000- 02 12.00 0.5% 0.5% built-in far-c4 b-16000- 02 16.00 0.5% 0.5% built-in far-c4 b-20000-l14b 20.00 0.5% 0.5% built-in far-c4 b-24000-l14a 24.00 0.5% 0.5% built-in *1: fujitsu acoustic resonator c 1 * 2 c 2 * 2 far* 1 x0 r x1
85 mb90670/675 series (continued) ? sample application of ceramic resonator ? mask rom product resonator manufacturer resonator frequency (mhz) c 1 (pf) c 2 (pf) r kyocera corporation kbr-2.0ms 2.00 150 150 not required pbrc-2.00a 2.00 150 150 not required kbr-4.0msa 4.00 33 33 680 w kbr-4.0mks 4.00 built-in built-in 680 w pbrc4.00a 4.00 33 33 680 w pbrc4.00b 4.00 built-in built-in 680 w kbr-6.0msa 6.00 33 33 not required kbr-6.0mks 6.00 built-in built-in not required pbrc6.00a 6.00 33 33 not required pbrc6.00b 6.00 built-in built-in not required kbr-8.0m 8.00 33 33 560 w pbrc8.00a 8.00 33 33 not required pbrc8.00b 8.00 built-in built-in not required kbr-10.0m 10.00 33 33 330 w pbrc10.00b 10.00 built-in built-in 680 w kbr-12.0m 12.00 33 33 330 w pbrc-12.00b 12.00 built-in built-in 680 w murata mfg. co., ltd. csa2.00mg040 2.00 100 100 not required cst2.00mg040 2.00 built-in built-in not required csa4.00mg040 4.00 100 100 not required cst4.00mgw040 4.00 built-in built-in not required csa6.00mg 6.00 30 30 not required cst6.00mgw 6.00 built-in built-in not required csa8.00mtz 8.00 30 30 not required cst8.00mtw 8.00 built-in built-in not required c 1 c 2 x0 r x1 *
mb90670/675 series 86 (continued) ? one-time product inquiry: kyocera corporation ? avx corporation north american sales headquarters: tel 1-803-448-9411 ? avx limited european sales headquarters: tel 44-1252-770000 ? avx/kyocera h.k. ltd. asian sales headquarters: tel 852-363-3303 murata mfg. co., ltd. ? murata electronics north america, inc.: tel 1-404-436-1300 ? murata europe management gmbh: tel 49-911-66870 ? murata electronics singapore (pte.) ltd.: tel 65-758-4233 tdk corporation ? tdk corporation of america chicago regional office: tel 1-708-803-6100 ? tdk electronics europe gmbh components division: tel 49-2102-9450 ? tdk singapore (pte) ltd.: tel 65-273-5022 ? tdk hongkong co., ltd.: tel 852-736-2238 ? korea branch, tdk corporation: tel 82-2-554-6633 resonator manufacturer resonator frequency (mhz) c 1 (pf) c 2 (pf) r murata mfg. co., ltd. csa10.0mtz 10.00 30 30 not required cst10.0mtw 10.00 built-in built-in not required csa12.0mtz 12.00 30 30 not required cst12.0mtw 12.00 built-in built-in not required csa16.00mxz040 16.00 15 15 not required cst16.00mxw0c3 16.00 built-in built-in not required csa20.00mxz040 20.00 10 10 not required csa24.00mxz040 24.00 5 5 not required cst24.00mxw0h1 24.00 built-in built-in not required csa32.00mxz040 32.00 5 5 not required cst32.00mxw040 32.00 built-in built-in not required tdk corporation fcr4.0mc5 4.00 built-in built-in not required resonator manufacturer resonator frequency (mhz) c 1 (pf) c 2 (pf) r murata mfg. co., ltd. cstcs4.00mg0c5 4.0 built-in built-in not required cst8.00mtw 8.00 built-in built-in not required csacs8.00mt 8.00 30 30 not required csa10.0mtz 10.00 30 30 not required cst10.0mtw 10.00 built-in built-in not required tdk corporation fcr4.0mc5 4.00 built-in built-in not required
87 mb90670/675 series (5) clock output timing (av cc = v cc = 5.0 v 10%, av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : for t cp (internal operating clock cycle time), refer to (3) clock timing. parameter symbol pin name condition value unit remarks min. max. cycle time t cyc clk 1 t cp *ns clk - ? clk t chcl clk 1 t cp */2 C 20 1 t cp */2 + 20 ns 2.4 v 0.8 v t cyc t chcl 2.4 v clk
mb90670/675 series 88 (6) bus read timing (av cc = v cc = 2.7 v to 5.5 v, av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : for t cp (internal operating clock cycle time), refer to (3) clock timing. parameter symbol pin name condition value unit remarks min. max. ale pulse width t lhll ale v cc = 5.0 v 10% 1 t cp */2 C 20 ns t lhll ale v cc = 3.0 v 10% 1 t cp */2 C 35 ns effective address ? ale time t avll ad15 to ad00 v cc = 5.0 v 10% 1 t cp */2 C 25 ns t avll ad15 to ad00 v cc = 3.0 v 10% 1 t cp */2 C 40 ns ale ? address effective time t llax ad15 to ad00 1 t cp */2 C 15 ns effective address ? rd time t avr l ad15 to ad00 1 t cp * C 15 ns effective address ? read data time t avdv ad15 to ad00 v cc = 5.0 v 10% 5 t cp */2 C 60 ns t avdv ad15 to ad00 v cc = 3.0 v 10% 5 t cp */2 C 80 ns rd pulse width t rlrh rd 3 t cp */2 C 20 ns rd ? read data time t rldv ad15 to ad00 v cc = 5.0 v 10% 3 t cp */2 C 60 ns t rldv ad15 to ad00 v cc = 3.0 v 10% 3 t cp */2 C 80 ns rd - ? data hold time t rhdx ad15 to ad00 0ns rd - ? ale - time t rhlh rd , ale 1 t cp */2 C 15 ns rd - ? address disappear time t rhax rd , a19 to a16 1 t cp */2 C 10 ns effective address ? clk - time t avc h clk, a19 to a16 1 t cp */2 C 20 ns rd ? clk - time t rlch rd , clk 1 t cp */2 C 20 ns
89 mb90670/675 series clk 2.4 v t avch ale rd ad19 to ad16 0.7 v cc 0.3 v cc ad15 to ad00 address read data 2.4 v 2.4 v 2.4 v 0.8 v 2.4 v 0.8 v 2.4 v 2.4 v 0.8 v 2.4 v 0.8 v 2.4 v 0.8 v 2.4 v 0.8 v 0.7 v cc 0.3 v cc t rlch t rhlh t lhll t avll t llax t rlrh t avrl t rldv t rhax t avdv t rhdx
mb90670/675 series 90 (7) bus write timing (av cc = v cc = 5.0 v 10%, av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : for t cp (internal operating clock cycle time), refer to (3) clock timing. parameter symbol pin name condition value unit remarks min. max. effective address ? wr time t av wl a19 to a00 1 t cp C 15 ns wr pulse width t wlwh wr 3 t cp */2 C 20 ns write data ? wr - time t dvwh ad15 to ad00 3 t cp */2 C 20 ns wr - ? data hold time t whdx ad15 to ad00 v cc = 5.0 v 10% 20 ns t whdx ad15 to ad00 v cc = 3.0 v 10% 30 ns wr - ? address disappear time t whax a19 to a00 1 t cp */2 C 10 ns wr - ? ale - time t whlh wrl , ale 1 t cp */2 C 15 ns wr ? clk - time t wlch wrh , clk 1 t cp */2 C 20 ns clk 2.4 v t wlch ale wrl , wrh a19 to a16 2.4 v 0.8 v ad15 to ad00 address write data t whlh t avwl t wlwh t dvwh t whdx t whax 2.4 v 2.4 v 0.8 v 2.4 v 0.8 v 2.4 v 0.8 v 2.4 v 0.8 v 2.4 v 0.8 v
91 mb90670/675 series (8) ready input timing (av cc = v cc = 2.7 v to 5.5 v, av ss = v ss = 0.0 v, t a = C40 c to +85 c) note: use the auto-ready function when the setup time for the rising of the rdy signal is not sufficient. (9) hold timing (av cc = v cc = 2.7 v to 5.5 v, av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : for t cp (internal operating clock cycle time), refer to (3) clock timing. note: more than 1 machine cycle is needed before hak changes after hrq pin is fetched. parameter symbol pin name condition value unit remarks min. max. rdy setup time t ryhs rdy v cc = 5.0 v 10% 45 ns t ryhs rdy v cc = 3.0 v 10% 70 ns rdy hold time t ryhh rdy 0 ns parameter symbol pin name condition value unit remarks min. max. pins in floating status ? hak time t xhal hak 30 1 t cp *ns hak - ? pin valid time t hahv hak 1 t cp *2 t cp *ns clk 2.4 v 0.8 v cc t ryhs ale rd /wr rdy (wait inserted) rdy (wait inserted) 2.4 v t ryhs 0.2 v cc 0.2 v cc 0.8 v cc t ryhh pins hak high impedance t xhal 2.4 v 0.8 v 2.4 v 0.8 v t hahv 0.8 v 2.4 v
mb90670/675 series 92 (10) uart0 timing (av cc = v cc = 5.0 v 10%, av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : for t cp (internal operating clock cycle time), refer to (3) clock timing. notes: ? these are ac ratings in the clk synchronous mode. ?c l is the load capacitor connected to pins while testing. parameter symbol pin name condition value unit remarks min. max. serial clock cycle time t scyc 8 t cp *ns internal shift clock mode c l = 80 pf + 1 ttl for an output pin sck ? sot delay time t slov v cc = 5.0 v 10% C 80 80 ns t slov v cc = 3.0 v 10% C 120 120 ns valid sin ? sck - t ivsh v cc = 5.0 v 10% 100 ns t ivsh v cc = 3.0 v 10% 200 ns sck - ? valid sin hold time t shix 1 t cp *ns serial clock h pulse width t shsl 4 t cp *ns external shift clock mode c l = 80 pf + 1 ttl for an output pin serial clock l pulse width t slsh 4 t cp *ns sck ? sot delay time t slov v cc = 5.0 v 10% 150 ns t slov v cc = 3.0 v 10% 200 ns valid sin ? sck - t ivsh v cc = 5.0 v 10% 60 ns t ivsh v cc = 3.0 v 10% 120 ns sck - ? valid sin hold time t shix v cc = 5.0 v 10% 60 ns t shix v cc = 3.0 v 10% 120 ns
93 mb90670/675 series ? internal shift clock mode ? external shift clock mode sck 2.4 v 0.8 v sot sin sck sot sin 0.8 v 2.4 v 0.8 v 2.4 v cc 0.8 v cc 2.4 v cc 0.8 v cc 0.8 v cc 0.2 v cc 2.4 v 0.2 v 0.8 v cc 0.2 v cc 0.2 v cc 0.8 v cc 0.2 v cc 0.8 v cc t scyc t ivsh t shix t slov t slsh t shsl t ivsh t shix t ivsh
mb90670/675 series 94 (11) uart1 timing (av cc = v cc = 5.0 v 10%, av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : for t cp (internal operating clock cycle time), refer to (3) clock timing. notes: ? these are ac ratings in the clk synchronous mode. ?c l is the load capacitor connected to pins while testing. parameter symbol pin name condition value unit remarks min. max. serial clock cycle time t scyc 8 t cp *ns internal shift clock mode c l = 80 pf + 1 ttl for an output pin sck ? sot delay time t slov v cc = 5.0 v 10% C 80 80 ns t slov v cc = 3.0 v 10% C 120 120 ns valid sin ? sck - t ivsh v cc = 5.0 v 10% 100 ns t ivsh v cc = 3.0 v 10% 200 ns sck - ? valid sin hold time t shix 1 t cp *ns serial clock h pulse width t shsl 4 t cp *ns external shift clock mode c l = 80 pf + 1 ttl for an output pin serial clock l pulse width t slsh 4 t cp *ns sck ? sot delay time t slov v cc = 5.0 v 10% 150 ns t slov v cc = 3.0 v 10% 200 ns valid sin ? sck - t ivsh v cc = 5.0 v 10% 60 ns t ivsh v cc = 3.0 v 10% 120 ns sck - ? valid sin hold time t shix v cc = 5.0 v 10% 60 ns t shix v cc = 3.0 v 10% 120 ns
95 mb90670/675 series ? internal shift clock mode ? external shift clock mode sck 2.4 v 0.8 v sot sin sck sot sin 0.8 v 2.4 v 0.2 v 0.8 v cc 0.2 v cc 0.8 v cc 0.2 v cc 0.8 v cc 0.2 v cc 2.4 v 0.8 v 0.8 v cc 0.2 v cc 0.2 v cc 0.8 v cc 0.2 v cc 0.8 v cc t scyc t ivsh t shix t slov t slsh t shsl t ivsh t shix t slov
mb90670/675 series 96 (12) timer input timing (av cc = v cc = 5.0 v 10%, av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : for t cp (internal operating clock cycle time), refer to (3) clock timing. (13) timer output timing (av cc = v cc = 2.7 v to 5.5 v, av ss = v ss = 0.0 v, t a = C40 c to +85 c) parameter symbol pin name condition value unit remarks min. max. input pulse width t tiwh , t tiwl tin0, ton1 4 t cp *ns parameter symbol pin name condition value unit remarks min. max. clk - ? t out transition time t to tot0, tot1 v cc = 5.0 v 10% 30 ns t to tot0, tot1 v cc = 3.0 v 10% 80 ns t tiwh 0.8 v cc 0.2 v cc t tiwl 0.8 v cc 0.2 v cc tin clk t to 2.4 v t out 2.4 v 0.8 v
97 mb90670/675 series (14) i 2 c timing (av cc = v cc = 5.0 v 10%, av ss = v ss = 0.0 v, t a = C40 c to +85 c) note: only mb90675 series has i 2 c. parameter symbol pin name condition value unit remarks min. max. scl clock frequency f scl 0100khz bus free time between stop and start conditions t bus 4.7 m s hold time (re-transmission) start t hdsta 4.0 m s the first clock pulse is generated after this period. low status hold time of scl clock t low 4.7 m s high status hold time of scl clock t high 4.0 m s setup time for conditions for starting re-transmission t susta 4.7 m s data hold time t hddat 0 m s data setup time t sudat 250ns rising time of sda and scl signals t r 1000 ns falling time of sda and scl signals t f 300ns setup time for stop conditions t susto 4.0 m s t bus sda scl t low t r t f t hdsta t hddat t high t sudat f scl t hdsta t susta t susto 0.8 v cc 0.2 v cc 0.2 v cc 0.8 v cc
mb90670/675 series 98 5. a/d converter electrical characteristics (av cc = v cc = 2.7 v to 5.5 v, av ss = v ss = 0.0 v, 2.7 v avrh C avrl, t a = C40 c to +85 c) parameter symbol pin name condition value unit min. typ. max. resolution 10 bit total error 3.0 lsb linearity error 2.0 lsb differential linearity error 1.5 lsb zero transition voltage v ot an0 to an7 avrl C 1.5 lsb avrl + 0.5 lsb avrl + 2.5 lsb mv full-scale transition voltage v fst an0 to an7 avrh C 4.5 lsb avrh C 1.5 lsb avrh + 0.5 lsb mv conversion time v cc = 5.0 v 10% at machine clock of 16 mhz 6.125 m s v cc = 3.0 v 10% at machine clock of 8 mhz 12.25 m s analog port input current i ain an0 to an7 0.110 m a analog input voltage v ain an0 to an7 avrl avrh v reference voltage avrh avrl C 2.7 av cc v avrl 0 avrh C 2.7 v power supply current i a av cc 3ma i ah av cc supply current when cpu stopped and a/d converter not in operation (v cc = av cc = avrh = 5.0 v) 5 m a reference voltage supply current i r avrh 200 m a i rh avrh supply current when cpu stopped and a/d converter not in operation (v cc = av cc = avrh = 5.0 v) 5 m a offset between channels an0 to an7 4lsb
99 mb90670/675 series 6. a/d converter glossary resolution: analog changes that are identifiable with the a/d converter linearity error: the deviation of the straight line connecting the zero transition point (00 0000 0000 ? 00 0000 0001) with the full-scale transition point (11 1111 1110 ? 11 1111 1111) from actual conversion characteristics differential linearity error: the deviation of input voltage needed to change the output code by 1 lsb from the theoretical value total error: the total error is defined as a difference between the actual value and the theoretical value, which includes zero-transition error/full-scale transition error and linearity error. (continued) total error 3ff 3fe 3fd 004 003 002 001 analog input avrl avrh actual conversion characteristics d i g i t a l o u t p u t v nt (mesured value) 0.5 lsb actual conversion characteristics theoretical characteristics 0.5 lsb {1 lsb (n C 1) + 0.5 lsb} [v] avrh C avrl 1024 1 lsb = (theoretical value) v ot (theoretical value) = avrl + 0.5 lsb [v] v fst (theoretical value) = avrh C 1.5 lsb [v] total error for digital output n [lsb] v nt C {1 lsb (n C 1) + 0.5 lsb} 1 lsb = v nt : voltage at a transition of digital output from (n C 1) to n
mb90670/675 series 100 (continued) 7. notes on using a/d converter select the output impedance value for the external circuit of analog input according to the following conditions. output impedance values of the external circuit of 7 k w or lower are recommended. when capacitors are connected to external pins, the capacitance of several thousand times the internal capacitor value is recommended to minimized the effect of voltage distribution between the external capacitor and internal capacitor. when the output impedance of the external circuit is too high, the sampling time for analog voltages may not be sufficient (sampling time = 3.75 m s @machine clock of 16 mhz). ?error the smaller the | avrh C avrl |, the greater the error would become relatively. linearity error n + 1 3ff 3fe 3fd 004 003 002 001 analog input avrl avrh analog input avrl avrh actual conversion characteristics v ot (mesured value) v fst (mesured value) actual conversion characteristics v nt {1 lsb (n C 1) + v ot } theoretical characteristics d i g i t a l o u t p u t d i g i t a l o u t p u t differential linearity error theoretical characteristics v (n + 1)t (mesured value) actual conversion characteristics v nt (mesured value) actual conversion characteristics linearity error of digital output n v ot: voltage at transition of digital output from 000 h to 001 h v fst : voltage at transition of digital output from 3fe h to 3ff h [lsb] v nt C {1 lsb (n C 1) + v ot } 1 lsb = [v] avrh C avrl 1022 = 1 lsb C 1 lsb [lsb] v (n + 1)t C v nt 1 lsb = differential linearity error of digital output n n C 2 n C 1 n ? block diagram of analog input circuit model note: listed values must be considered as standards. comparator sample hold circuit analog input r on1 : approx. 1.5 k w (v cc = 5.0 v) r on2 : approx. 0.5 k w (v cc = 5.0 v) r on3 : approx. 0.5 k w (v cc = 5.0 v) c 0 : approx. 60 pf r on4 : approx. 0.5 k w (v cc = 5.0 v) c 1 : approx. 4 pf r on1 r on2 r on3 r on4 c 0 c 1
101 mb90670/675 series n example characteristics (3) h level input voltage/l level input voltage (1) h level output voltage (2) l level output voltage (4) h level input voltage/l level input voltage (cmos input) (hysteresis input) 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 v oh (v) v cc = 2.7 v v oh vs. i oh t a = +25 c i oh (ma) v cc = 3.0 v v cc = 3.5 v v cc = 4.0 v v cc = 4.5 v v cc = 5.0 v C2 C4 C6 C8 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 v ol (v) v cc = 2.7 v v ol vs. i ol i ol (ma) v cc = 3.0 v v cc = 3.5 v v cc = 4.0 v v cc = 4.5 v v cc = 5.0 v 24 6 8 v ihs : threshold when input voltage in hysteresis characteristics is set to h level t a = +25 c 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0.0 v in vs. v cc v cc (v) 345 t a = +25 c 26 v in (v) 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0.0 v in vs. v cc v cc (v) 345 t a = +25 c 26 v in (v) v ils : threshold when input voltage in hysteresis characteristics is set to l level v ihs v ils
mb90670/675 series 102 (5) power supply current (f cp = internal operating clock frequency) (6) pull-up resistance i cc vs. v cc 70 65 60 55 50 45 40 35 30 25 20 15 10 5 0 i cc (ma) v cc (v) 3.0 4.0 5.0 6.0 t a = +25 c f cp = 16 mhz f cp = 12.5 mhz f cp = 8 mhz f cp = 4 mhz i ccs vs. v cc 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 i ccs (ma) v cc (v) 3.0 4.0 5.0 6.0 t a = +25 c f cp = 16 mhz f cp = 12.5 mhz f cp = 8 mhz f cp = 4 mhz i a vs. av cc 6.0 5.5 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 i a (ma) av cc (v) 3.0 4.0 5.0 6.0 t a = +25 c f cp = 16 mhz i r vs. avr 0.30 0.20 0.10 0 i a (ma) avr (v) 3.0 4.0 5.0 6.0 t a = +25 c f cp = 16 mhz r vs. v cc t a = +25 c 1000 100 10 v cc (v) 4.5 5.0 5.5 6.0 r (k w ) 2.5 3.0 3.5 4.0
103 mb90670/675 series n instructions (340 instructions) table 1 explanation of items in tables of instructions item meaning mnemonic upper-case letters and symbols: represented as they appear in assembler. lower-case letters: replaced when described in assembler. numbers after lower-case letters: indicate the bit width within the instruction. # indicates the number of bytes. ~ indicates the number of cycles. m : when branching n : when not branching see table 4 for details about meanings of other letters in items. rg indicates the number of accesses to the register during execution of the instruction. it is used calculate a correction value for intermittent operation of cpu. b indicates the correction value for calculating the number of actual cycles during execution of the instruction. (table 5) the number of actual cycles during execution of the instruction is the correction value summed with the value in the ~ column. operation indicates the operation of instruction. lh indicates special operations involving the upper 8 bits of the lower 16 bits of the accumulator. z : transfers 0. x : extends with a sign before transferring. C : transfers nothing. ah indicates special operations involving the upper 16 bits in the accumulator. * : transfers from al to ah. C:no transfer. z : transfers 00 h to ah. x : transfers 00 h or ff h to ah by signing and extending al. i indicates the status of each of the following flags: i (interrupt enable), s (stack), t (sticky bit), n (negative), z (zero), v (overflow), and c (carry). * : changes due to execution of instruction. C : no change. s : set by execution of instruction. r : reset by execution of instruction. s t n z v c rmw indicates whether the instruction is a read-modify-write instruction. (a single instruction that reads data from memory, etc., processes the data, and then writes the result to memory.) * : instruction is a read-modify-write instruction. C : instruction is not a read-modify-write instruction. note: a read-modify-write instruction cannot be used on addresses that have different meanings depending on whether they are read or written.
mb90670/675 series 104 table 2 explanation of symbols in tables of instructions (continued) symbol meaning a 32-bit accumulator the bit length varies according to the instruction. byte : lower 8 bits of al word : 16 bits of al long : 32 bits of al:ah ah al upper 16 bits of a lower 16 bits of a sp stack pointer (usp or ssp) pc program counter pcb program bank register dtb data bank register adb additional data bank register ssb system stack bank register usb user stack bank register spb current stack bank register (ssb or usb) dpr direct page register brg1 dtb, adb, ssb, usb, dpr, pcb, spb brg2 dtb, adb, ssb, usb, dpr, spb ri r0, r1, r2, r3, r4, r5, r6, r7 rwi rw0, rw1, rw2, rw3, rw4, rw5, rw6, rw7 rwj rw0, rw1, rw2, rw3 rli rl0, rl1, rl2, rl3 dir compact direct addressing addr16 addr24 ad24 0 to 15 ad24 16 to 23 direct addressing physical direct addressing bit 0 to bit 15 of addr24 bit 16 to bit 23 of addr24 io i/o area (000000 h to 0000ff h ) imm4 imm8 imm16 imm32 ext (imm8) 4-bit immediate data 8-bit immediate data 16-bit immediate data 32-bit immediate data 16-bit data signed and extended from 8-bit immediate data disp8 disp16 8-bit displacement 16-bit displacement bp bit offset vct4 vct8 vector number (0 to 15) vector number (0 to 255) ( )b bit address
105 mb90670/675 series (continued) table 3 effective address fields note: the number of bytes in the address extension is indicated by the + symbol in the # (number of bytes) column in the tables of instructions. symbol meaning rel branch specification relative to pc ear eam effective addressing (codes 00 to 07) effective addressing (codes 08 to 1f) rlst register list code notation address format number of bytes in address extension * 00 01 02 03 04 05 06 07 r0 r1 r2 r3 r4 r5 r6 r7 rw0 rw1 rw2 rw3 rw4 rw5 rw6 rw7 rl0 (rl0) rl1 (rl1) rl2 (rl2) rl3 (rl3) register direct ea corresponds to byte, word, and long-word types, starting from the left 08 09 0a 0b @rw0 @rw1 @rw2 @rw3 register indirect 0 0c 0d 0e 0f @rw0 + @rw1 + @rw2 + @rw3 + register indirect with post-increment 0 10 11 12 13 14 15 16 17 @rw0 + disp8 @rw1 + disp8 @rw2 + disp8 @rw3 + disp8 @rw4 + disp8 @rw5 + disp8 @rw6 + disp8 @rw7 + disp8 register indirect with 8-bit displacement 1 18 19 1a 1b @rw0 + disp16 @rw1 + disp16 @rw2 + disp16 @rw3 + disp16 register indirect with 16-bit displacement 2 1c 1d 1e 1f @rw0 + rw7 @rw1 + rw7 @pc + disp16 addr16 register indirect with index register indirect with index pc indirect with 16-bit displacement direct address 0 0 2 2
mb90670/675 series 106 table 4 number of execution cycles for each type of addressing note: (a) is used in the ~ (number of states) column and column b (correction value) in the tables of instructions. table 5 correction values for number of cycles used to calculate number of actual cycles notes: (b), (c), and (d) are used in the ~ (number of states) column and column b (correction value) in the tables of instructions. when the external data bus is used, it is necessary to add in the number of wait cycles used for ready input and automatic ready. table 6 correction values for number of cycles used to calculate number of program fetch cycles notes: when the external data bus is used, it is necessary to add in the number of wait cycles used for ready input and automatic ready. because instruction execution is not slowed down by all program fetches in actuality, these correction values should be used for worst case calculations. code operand (a) number of register accesses for each type of addressing number of execution cycles for each type of addressing 00 to 07 ri rwi rli listed in tables of instructions listed in tables of instructions 08 to 0b @rwj 2 1 0c to 0f @rwj + 4 2 10 to 17 @rwi + disp8 2 1 18 to 1b @rwj + disp16 2 1 1c 1d 1e 1f @rw0 + rw7 @rw1 + rw7 @pc + disp16 addr16 4 4 2 1 2 2 0 0 operand (b) byte (c) word (d) long number of cycles number of access number of cycles number of access number of cycles number of access internal register +0 1 +0 1 +0 2 internal memory even address internal memory odd address +0 +0 1 1 +0 +2 1 2 +0 +4 2 4 even address on external data bus (16 bits) odd address on external data bus (16 bits) +1 +1 1 1 +1 +4 1 2 +2 +8 2 4 external data bus (8 bits) +1 1 +4 2 +8 4 instruction byte boundary word boundary internal memory +2 external data bus (16 bits) +3 external data bus (8 bits) +3
107 mb90670/675 series table 7 transfer instructions (byte) [41 instructions] note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ r g b operation l h a h istnzvc rm w mov a, dir mov a, addr16 mov a, ri mov a, ear mov a, eam mov a, io mov a, #imm8 mov a, @a mov a, @rli+disp8 movn a, #imm4 movx a, dir movx a, addr16 movx a, ri movx a, ear movx a, eam movx a, io movx a, #imm8 movx a, @a movx a,@rwi+disp8 movx a, @rli+disp8 mov dir, a mov addr16, a mov ri, a mov ear, a mov eam, a mov io, a mov @rli+disp8, a mov ri, ear mov ri, eam mov ear, ri mov eam, ri mov ri, #imm8 mov io, #imm8 mov dir, #imm8 mov ear, #imm8 mov eam, #imm8 mov @al, ah /mov @a, t xch a, ear xch a, eam xch ri, ear xch ri, eam 2 3 1 2 2+ 2 2 2 3 1 2 3 2 2 2+ 2 2 2 2 3 2 3 1 2 2+ 2 3 2 2+ 2 2+ 2 3 3 3 3+ 2 2 2+ 2 2+ 3 4 2 2 3+ (a) 3 2 3 10 1 3 4 2 2 3+ (a) 3 2 3 5 10 3 4 2 2 3+ (a) 3 10 3 4+ (a) 4 5+ (a) 2 5 5 2 4+ (a) 3 4 5+ (a) 7 9+ (a) 0 0 1 1 0 0 0 0 2 0 0 0 1 1 0 0 0 0 1 2 0 0 1 1 0 0 2 2 1 2 1 1 0 0 1 0 0 2 0 4 2 (b) (b) 0 0 (b) (b) 0 (b) (b) 0 (b) (b) 0 0 (b) (b) 0 (b) (b) (b) (b) (b) 0 0 (b) (b) (b) 0 (b) 0 (b) 0 (b) (b) 0 (b) (b) 0 2 (b) 0 2 (b) byte (a) ? (dir) byte (a) ? (addr16) byte (a) ? (ri) byte (a) ? (ear) byte (a) ? (eam) byte (a) ? (io) byte (a) ? imm8 byte (a) ? ((a)) byte (a) ? ((rli)+disp8) byte (a) ? imm4 byte (a) ? (dir) byte (a) ? (addr16) byte (a) ? (ri) byte (a) ? (ear) byte (a) ? (eam) byte (a) ? (io) byte (a) ? imm8 byte (a) ? ((a)) byte (a) ? ((rwi)+disp8) byte (a) ? ((rli)+disp8) byte (dir) ? (a) byte (addr16) ? (a) byte (ri) ? (a) byte (ear) ? (a) byte (eam) ? (a) byte (io) ? (a) byte ((rli) +disp8) ? (a) byte (ri) ? (ear) byte (ri) ? (eam) byte (ear) ? (ri) byte (eam) ? (ri) byte (ri) ? imm8 byte (io) ? imm8 byte (dir) ? imm8 byte (ear) ? imm8 byte (eam) ? imm8 byte ((a)) ? (ah) byte (a) ? (ear) byte (a) ? (eam) byte (ri) ? (ear) byte (ri) ? (eam) z z z z z z z z z z x x x x x x x x x x C C C C C C C C C C C C C C C C C z z C C * * * * * * * C * * * * * * * * * C * * C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * * * r * * * * * * * * * * * * * * * * * * * * * * C C * C * C C C C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C C * C * C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C
mb90670/675 series 108 table 8 transfer instructions (word/long word) [38 instructions] note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ r g b operation l h a h istnzvc rm w movw a, dir movw a, addr16 movw a, sp movw a, rwi movw a, ear movw a, eam movw a, io movw a, @a movw a, #imm16 movw a, @rwi+disp8 movw a, @rli+disp8 movw dir, a movw addr16, a movw sp, a movw rwi, a movw ear, a movw eam, a movw io, a movw @rwi+disp8, a movw @rli+disp8, a movw rwi, ear movw rwi, eam movw ear, rwi movw eam, rwi movw rwi, #imm16 movw io, #imm16 movw ear, #imm16 movw eam, #imm16 movw al, ah /movw @a, t xchw a, ear xchw a, eam xchw rwi, ear xchw rwi, eam 2 3 1 1 2 2+ 2 2 3 2 3 2 3 1 1 2 2+ 2 2 3 2 2+ 2 2+ 3 4 4 4+ 2 2 2+ 2 2+ 3 4 1 2 2 3+ (a) 3 3 2 5 10 3 4 1 2 2 3+ (a) 3 5 10 3 4+ (a) 4 5+ (a) 2 5 2 4+ (a) 3 4 5+ (a) 7 9+ (a) 0 0 0 1 1 0 0 0 0 1 2 0 0 0 1 1 0 0 1 2 2 1 2 1 1 0 1 0 0 2 0 4 2 (c) (c) 0 0 0 (c) (c) (c) 0 (c) (c) (c) (c) 0 0 0 (c) (c) (c) (c) (0) (c) 0 (c) 0 (c) 0 (c) (c) 0 2 (c) 0 2 (c) word (a) ? (dir) word (a) ? (addr16) word (a) ? (sp) word (a) ? (rwi) word (a) ? (ear) word (a) ? (eam) word (a) ? (io) word (a) ? ((a)) word (a) ? imm16 word (a) ? ((rwi) +disp8) word (a) ? ((rli) +disp8) word (dir) ? (a) word (addr16) ? (a) word (sp) ? (a) word (rwi) ? (a) word (ear) ? (a) word (eam) ? (a) word (io) ? (a) word ((rwi) +disp8) ? (a) word ((rli) +disp8) ? (a) word (rwi) ? (ear) word (rwi) ? (eam) word (ear) ? (rwi) word (eam) ? (rwi) word (rwi) ? imm16 word (io) ? imm16 word (ear) ? imm16 word (eam) ? imm16 word ((a)) ? (ah) word (a) ? (ear) word (a) ? (eam) word (rwi) ? (ear) word (rwi) ? (eam) C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * C * * * C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * * * * * * * * * * * * * * C * C * C C C C * * * * * * * * * * * * * * * * * * * * * * * * * C * C * C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C movl a, ear movl a, eam movl a, #imm32 movl ear, a movl eam, a 2 2+ 5 2 2+ 4 5+ (a) 3 4 5+ (a) 2 0 0 2 0 0 (d) 0 0 (d) long (a) ? (ear) long (a) ? (eam) long (a) ? imm32 long (ear) ? (a) long (eam) ? (a) C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * C C C C C C C C C C C C C C C
109 mb90670/675 series table 9 addition and subtraction instructions (byte/word/long word) [42 instructions] note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ r g b operation l h a h istnzvc rm w add a,#imm8 add a, dir add a, ear add a, eam add ear, a add eam, a addc a addc a, ear addc a, eam adddc a sub a, #imm8 sub a, dir sub a, ear sub a, eam sub ear, a sub eam, a subc a subc a, ear subc a, eam subdc a 2 2 2 2+ 2 2+ 1 2 2+ 1 2 2 2 2+ 2 2+ 1 2 2+ 1 2 5 3 4+ (a) 3 5+ (a) 2 3 4+ (a) 3 2 5 3 4+ (a) 3 5+ (a) 2 3 4+ (a) 3 0 0 1 0 2 0 0 1 0 0 0 0 1 0 2 0 0 1 0 0 0 (b) 0 (b) 0 2 (b) 0 0 (b) 0 0 (b) 0 (b) 0 2 (b) 0 0 (b) 0 byte (a) ? (a) +imm8 byte (a) ? (a) +(dir) byte (a) ? (a) +(ear) byte (a) ? (a) +(eam) byte (ear) ? (ear) + (a) byte (eam) ? (eam) + (a) byte (a) ? (ah) + (al) + (c) byte (a) ? (a) + (ear) + (c) byte (a) ? (a) + (eam) + (c) byte (a) ? (ah) + (al) + (c) (decimal) byte (a) ? (a) Cimm8 byte (a) ? (a) C (dir) byte (a) ? (a) C (ear) byte (a) ? (a) C (eam) byte (ear) ? (ear) C (a) byte (eam) ? (eam) C (a) byte (a) ? (ah) C (al) C (c) byte (a) ? (a) C (ear) C (c) byte (a) ? (a) C (eam) C (c) byte (a) ? (ah) C (al) C (c) (decimal) z z z z C z z z z z z z z z C C z z z z C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C C C C C * C C C C C C C C C * C C C C addw a addw a, ear addw a, eam addw a, #imm16 addw ear, a addw eam, a addcw a, ear addcw a, eam subw a subw a, ear subw a, eam subw a, #imm16 subw ear, a subw eam, a subcw a, ear subcw a, eam 1 2 2+ 3 2 2+ 2 2+ 1 2 2+ 3 2 2+ 2 2+ 2 3 4+ (a) 2 3 5+ (a) 3 4+ (a) 2 3 4+ (a) 2 3 5+ (a) 3 4+ (a) 0 1 0 0 2 0 1 0 0 1 0 0 2 0 1 0 0 0 (c) 0 0 2 (c) 0 (c) 0 0 (c) 0 0 2 (c) 0 (c) word (a) ? (ah) + (al) word (a) ? (a) +(ear) word (a) ? (a) +(eam) word (a) ? (a) +imm16 word (ear) ? (ear) + (a) word (eam) ? (eam) + (a) word (a) ? (a) + (ear) + (c) word (a) ? (a) + (eam) + (c) word (a) ? (ah) C (al) word (a) ? (a) C (ear) word (a) ? (a) C (eam) word (a) ? (a) Cimm16 word (ear) ? (ear) C (a) word (eam) ? (eam) C (a) word (a) ? (a) C (ear) C (c) word (a) ? (a) C (eam) C (c) C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C C C C C * C C C C C C C * C C addl a, ear addl a, eam addl a, #imm32 subl a, ear subl a, eam subl a, #imm32 2 2+ 5 2 2+ 5 6 7+ (a) 4 6 7+ (a) 4 2 0 0 2 0 0 0 (d) 0 0 (d) 0 long (a) ? (a) + (ear) long (a) ? (a) + (eam) long (a) ? (a) +imm32 long (a) ? (a) C (ear) long (a) ? (a) C (eam) long (a) ? (a) Cimm32 C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * * * * * * * * * * * * * C C C C C C
mb90670/675 series 110 table 10 increment and decrement instructions (byte/word/long word) [12 instructions] note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. table 11 compare instructions (byte/word/long word) [11 instructions] note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ r g b operation l h a h istnzvc rm w inc ear inc eam dec ear dec eam 2 2+ 2 2+ 2 5+ (a) 3 5+ (a) 2 0 2 0 0 2 (b) 0 2 (b) byte (ear) ? (ear) +1 byte (eam) ? (eam) +1 byte (ear) ? (ear) C1 byte (eam) ? (eam) C1 C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * C C C C C * C * incw ear incw eam decw ear decw eam 2 2+ 2 2+ 3 5+ (a) 3 5+ (a) 2 0 2 0 0 2 (c) 0 2 (c) word (ear) ? (ear) +1 word (eam) ? (eam) +1 word (ear) ? (ear) C1 word (eam) ? (eam) C1 C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * C C C C C * C * incl ear incl eam decl ear decl eam 2 2+ 2 2+ 7 9+ (a) 7 9+ (a) 4 0 4 0 0 2 (d) 0 2 (d) long (ear) ? (ear) +1 long (eam) ? (eam) +1 long (ear) ? (ear) C1 long (eam) ? (eam) C1 C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * C C C C C * C * mnemonic # ~ r g b operation l h a h istnzvc rm w cmp a cmp a, ear cmp a, eam cmp a, #imm8 1 2 2+ 2 1 2 3+ (a) 2 0 1 0 0 0 0 (b) 0 byte (ah) C (al) byte (a) ? (ear) byte (a) ? (eam) byte (a) ? imm8 C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * * * * * C C C C cmpw a cmpw a, ear cmpw a, eam cmpw a, #imm16 1 2 2+ 3 1 2 3+ (a) 2 0 1 0 0 0 0 (c) 0 word (ah) C (al) word (a) ? (ear) word (a) ? (eam) word (a) ? imm16 C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * * * * * C C C C cmpl a, ear cmpl a, eam cmpl a, #imm32 2 2+ 5 6 7+ (a) 3 2 0 0 0 (d) 0 word (a) ? (ear) word (a) ? (eam) word (a) ? imm32 C C C C C C C C C C C C C C C * * * * * * * * * * * * C C C
111 mb90670/675 series table 12 multiplication and division instructions (byte/word/long word) [11 instructions] *1: 3 when the result is zero, 7 when an overflow occurs, and 15 normally. *2: 4 when the result is zero, 8 when an overflow occurs, and 16 normally. *3: 6 + (a) when the result is zero, 9 + (a) when an overflow occurs, and 19 + (a) normally. *4: 4 when the result is zero, 7 when an overflow occurs, and 22 normally. *5: 6 + (a) when the result is zero, 8 + (a) when an overflow occurs, and 26 + (a) normally. *6: (b) when the result is zero or when an overflow occurs, and 2 (b) normally. *7: (c) when the result is zero or when an overflow occurs, and 2 (c) normally. *8: 3 when byte (ah) is zero, and 7 when byte (ah) is not zero. *9: 4 when byte (ear) is zero, and 8 when byte (ear) is not zero. *10: 5 + (a) when byte (eam) is zero, and 9 + (a) when byte (eam) is not 0. *11: 3 when word (ah) is zero, and 11 when word (ah) is not zero. *12: 4 when word (ear) is zero, and 12 when word (ear) is not zero. *13: 5 + (a) when word (eam) is zero, and 13 + (a) when word (eam) is not zero. note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ r g b operation l h a h istnzvc rm w divu a divu a, ear divu a, eam divuw a, ear divuw a, eam mulu a mulu a, ear mulu a, eam muluw a muluw a, ear muluw a, eam 1 2 2+ 2 2+ 1 2 2+ 1 2 2+ * 1 * 2 * 3 * 4 * 5 * 8 * 9 * 10 * 11 * 12 * 13 0 1 0 1 0 0 1 0 0 1 0 0 0 * 6 0 * 7 0 0 (b) 0 0 (c) word (ah) /byte (al) quotient ? byte (al) remainder ? byte (ah) word (a)/byte (ear) quotient ? byte (a) remainder ? byte (ear) word (a)/byte (eam) quotient ? byte (a) remainder ? byte (eam) long (a)/word (ear) quotient ? word (a) remainder ? word (ear) long (a)/word (eam) quotient ? word (a) remainder ? word (eam) byte (ah) *byte (al) ? word (a) byte (a) *byte (ear) ? word (a) byte (a) *byte (eam) ? word (a) word (ah) *word (al) ? long (a) word (a) *word (ear) ? long (a) word (a) *word (eam) ? long (a) C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * C C C C C C * * * * * C C C C C C C C C C C C C C C C C
mb90670/675 series 112 table 13 logical 1 instructions (byte/word) [39 instructions ] note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ r g b operation l h a h istnzvc rm w and a, #imm8 and a, ear and a, eam and ear, a and eam, a or a, #imm8 or a, ear or a, eam or ear, a or eam, a xor a, #imm8 xor a, ear xor a, eam xor ear, a xor eam, a not a not ear not eam 2 2 2+ 2 2+ 2 2 2+ 2 2+ 2 2 2+ 2 2+ 1 2 2+ 2 3 4+ (a) 3 5+ (a) 2 3 4+ (a) 3 5+ (a) 2 3 4+ (a) 3 5+ (a) 2 3 5+ (a) 0 1 0 2 0 0 1 0 2 0 0 1 0 2 0 0 2 0 0 0 (b) 0 2 (b) 0 0 (b) 0 2 (b) 0 0 (b) 0 2 (b) 0 0 2 (b) byte (a) ? (a) and imm8 byte (a) ? (a) and (ear) byte (a) ? (a) and (eam) byte (ear) ? (ear) and (a) byte (eam) ? (eam) and (a) byte (a) ? (a) or imm8 byte (a) ? (a) or (ear) byte (a) ? (a) or (eam) byte (ear) ? (ear) or (a) byte (eam) ? (eam) or (a) byte (a) ? (a) xor imm8 byte (a) ? (a) xor (ear) byte (a) ? (a) xor (eam) byte (ear) ? (ear) xor (a) byte (eam) ? (eam) xor (a) byte (a) ? not (a) byte (ear) ? not (ear) byte (eam) ? not (eam) C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * r r r r r r r r r r r r r r r r r r C C C C C C C C C C C C C C C C C C C C C C * C C C C * C C C C * C C * andw a andw a, #imm16 andw a, ear andw a, eam andw ear, a andw eam, a orw a orw a, #imm16 orw a, ear orw a, eam orw ear, a orw eam, a xorw a xorw a, #imm16 xorw a, ear xorw a, eam xorw ear, a xorw eam, a notw a notw ear notw eam 1 3 2 2+ 2 2+ 1 3 2 2+ 2 2+ 1 3 2 2+ 2 2+ 1 2 2+ 2 2 3 4+ (a) 3 5+ (a) 2 2 3 4+ (a) 3 5+ (a) 2 2 3 4+ (a) 3 5+ (a) 2 3 5+ (a) 0 0 1 0 2 0 0 0 1 0 2 0 0 0 1 0 2 0 0 2 0 0 0 0 (c) 0 2 (c) 0 0 0 (c) 0 2 (c) 0 0 0 (c) 0 2 (c) 0 0 2 (c) word (a) ? (ah) and (a) word (a) ? (a) and imm16 word (a) ? (a) and (ear) word (a) ? (a) and (eam) word (ear) ? (ear) and (a) word (eam) ? (eam) and (a) word (a) ? (ah) or (a) word (a) ? (a) or imm16 word (a) ? (a) or (ear) word (a) ? (a) or (eam) word (ear) ? (ear) or (a) word (eam) ? (eam) or (a) word (a) ? (ah) xor (a) word (a) ? (a) xor imm16 word (a) ? (a) xor (ear) word (a) ? (a) xor (eam) word (ear) ? (ear) xor (a) word (eam) ? (eam) xor (a) word (a) ? not (a) word (ear) ? not (ear) word (eam) ? not (eam) C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * r r r r r r r r r r r r r r r r r r r r r C C C C C C C C C C C C C C C C C C C C C C C C C C * C C C C C * C C C C C * C C *
113 mb90670/675 series table 14 logical 2 instructions (long word) [6 instructions] table 15 sign inversion instructions (byte/word) [6 instructions] table 16 normalize instruction (long word) [1 instruction] *1: 4 when the contents of the accumulator are all zeroes, 6 + (r0) in all other cases (shift count). note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ r g b operation l h a h istnzvc rm w andl a, ear andl a, eam orl a, ear orl a, eam xorl a, ea xorl a, eam 2 2+ 2 2+ 2 2+ 6 7+ (a) 6 7+ (a) 6 7+ (a) 2 0 2 0 2 0 0 (d) 0 (d) 0 (d) long (a) ? (a) and (ear) long (a) ? (a) and (eam) long (a) ? (a) or (ear) long (a) ? (a) or (eam) long (a) ? (a) xor (ear) long (a) ? (a) xor (eam) C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * * * * * * r r r r r r C C C C C C C C C C C C mnemonic # ~ r g b operation l h a h istnzvc rm w neg a neg ear neg eam 1 2 2+ 2 3 5+ (a) 0 2 0 0 0 2 (b) byte (a) ? 0 C (a) byte (ear) ? 0 C (ear) byte (eam) ? 0 C (eam) x C C C C C C C C C C C C C C * * * * * * * * * * * * C C * negw a negw ear negw eam 1 2 2+ 2 3 5+ (a) 0 2 0 0 0 2 (c) word (a) ? 0 C (a) word (ear) ? 0 C (ear) word (eam) ? 0 C (eam) C C C C C C C C C C C C C C C * * * * * * * * * * * * C C * mnemonic # ~ rg b operation l h a h istnzvc rm w nrml a, r0 2 * 1 1 0 long (a) ? shift until first digit is 1 byte (r0) ? current shift count CCCCCC*CC C
mb90670/675 series 114 table 17 shift instructions (byte/word/long word) [18 instructions] *1: 6 when r0 is 0, 5 + (r0) in all other cases. *2: 6 when r0 is 0, 6 + (r0) in all other cases. note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ r g b operation l h a h istnzvc rm w rorca rolc a rorcear rorceam rolc ear rolc eam asr a, r0 lsr a, r0 lsl a, r0 2 2 2 2+ 2 2+ 2 2 2 2 2 3 5+ (a) 3 5+ (a) * 1 * 1 * 1 0 0 2 0 2 0 1 1 1 0 0 0 2 (b) 0 2 (b) 0 0 0 byte (a) ? right rotation with carry byte (a) ? left rotation with carry byte (ear) ? right rotation with carry byte (eam) ? right rotation with carry byte (ear) ? left rotation with carry byte (eam) ? left rotation with carry byte (a) ? arithmetic right barrel shift (a, r0) byte (a) ? logical right barrel shift (a, r0) byte (a) ? logical left barrel shift (a, r0) C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * C * * * * * * * * * * * * * * * * * * C C C C C C C C C * * * * * * * * * C C C * C * C C C asrwa lsrw a/shrw a lslw a/shlw a asrwa, r0 lsrw a, r0 lslw a, r0 1 1 1 2 2 2 2 2 2 * 1 * 1 * 1 0 0 0 1 1 1 0 0 0 0 0 0 word (a) ? arithmetic right shift (a, 1 bit) word (a) ? logical right shift (a, 1 bit) word (a) ? logical left shift (a, 1 bit) word (a) ? arithmetic right barrel shift (a, r0) word (a) ? logical right barrel shift (a, r0) word (a) ? logical left barrel shift (a, r0) C C C C C C C C C C C C C C C C C C C C C C C C * * C * * C * r * * * * * * * * * * C C C C C C * * * * * * C C C C C C asrl a, r0 lsrl a, r0 lsll a, r0 2 2 2 * 2 * 2 * 2 1 1 1 0 0 0 long (a) ? arithmetic right shift (a, r0) long (a) ? logical right barrel shift (a, r0) long (a) ? logical left barrel shift (a, r0) C C C C C C C C C C C C * * C * * * * * * C C C * * * C C C
115 mb90670/675 series table 18 branch 1 instructions [31 instructions] *1: 4 when branching, 3 when not branching. *2: (b) + 3 (c) *3: read (word) branch address. *4: w: save (word) to stack; r: read (word) branch address. *5: save (word) to stack. *6: w: save (long word) to w stack; r: read (long word) r branch address. *7: save (long word) to stack. note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ rg b operation l h a h istnzvc rm w bz/beq rel bnz/bne rel bc/blo rel bnc/bhs rel bn rel bp rel bv rel bnv rel bt rel bnt rel blt rel bge rel ble rel bgt rel bls rel bhi rel bra rel jmp @a jmp addr16 jmp @ear jmp @eam jmpp @ear * 3 jmpp @eam * 3 jmpp addr24 call @ear * 4 call @eam * 4 call addr16 * 5 callv #vct4 * 5 callp @ear * 6 callp @eam * 6 callp addr24 * 7 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 3 2 2+ 2 2+ 4 2 2+ 3 1 2 2+ 4 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 * 1 2 3 3 4+ (a) 5 6+ (a) 4 6 7+ (a) 6 7 10 11+ (a) 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 1 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (c) 0 (d) 0 (c) 2 (c) (c) 2 (c) 2 (c) * 2 2 (c) branch when (z) = 1 branch when (z) = 0 branch when (c) = 1 branch when (c) = 0 branch when (n) = 1 branch when (n) = 0 branch when (v) = 1 branch when (v) = 0 branch when (t) = 1 branch when (t) = 0 branch when (v) xor (n) = 1 branch when (v) xor (n) = 0 branch when ((v) xor (n)) or (z) = 1 branch when ((v) xor (n)) or (z) = 0 branch when (c) or (z) = 1 branch when (c) or (z) = 0 branch unconditionally word (pc) ? (a) word (pc) ? addr16 word (pc) ? (ear) word (pc) ? (eam) word (pc) ? (ear), (pcb) ? (ear +2) word (pc) ? (eam), (pcb) ? (eam +2) word (pc) ? ad24 0 to 15, (pcb) ? ad24 16 to 23 word (pc) ? (ear) word (pc) ? (eam) word (pc) ? addr16 vector call instruction word (pc) ? (ear) 0 to 15 (pcb) ? (ear) 16 to 23 word (pc) ? (eam) 0 to 15 (pcb) ? (eam) 16 to 23 word (pc) ? addr0 to 15, (pcb) ? addr16 to 23 C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C
mb90670/675 series 116 table 19 branch 2 instructions [19 instructions] *1: 5 when branching, 4 when not branching *2: 13 when branching, 12 when not branching *3: 7 + (a) when branching, 6 + (a) when not branching *4: 8 when branching, 7 when not branching *5: 7 when branching, 6 when not branching *6: 8 + (a) when branching, 7 + (a) when not branching *7: retrieve (word) from stack *8: retrieve (long word) from stack *9: in the cbne/cwbne instruction, do not use the rwj+ addressing mode. note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ rg b operation l h a h istnzvc rm w cbne a, #imm8, rel cwbnea, #imm16, rel cbne ear, #imm8, rel cbne eam, #imm8, rel* 9 cwbneear, #imm16, rel cwbneeam, #imm16, rel* 9 dbnz ear, rel dbnz eam, rel dwbnz ear, rel dwbnz eam, rel int #vct8 int addr16 intp addr24 int9 reti link #local8 unlink ret * 7 retp * 8 3 4 4 4+ 5 5+ 3 3+ 3 3+ 2 3 4 1 1 2 1 1 1 * 1 * 1 * 2 * 3 * 4 * 3 * 5 * 6 * 5 * 6 20 16 17 20 15 6 5 4 6 0 0 1 0 1 0 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 (b) 0 (c) 0 2 (b) 0 2 (c) 8 (c) 6 (c) 6 (c) 8 (c) 6 (c) (c) (c) (c) (d) branch when byte (a) 1 imm8 branch when word (a) 1 imm16 branch when byte (ear) 1 imm8 branch when byte (eam) 1 imm8 branch when word (ear) 1 imm16 branch when word (eam) 1 imm16 branch when byte (ear) = (ear) C 1, and (ear) 1 0 branch when byte (eam) = (eam) C 1, and (eam) 1 0 branch when word (ear) = (ear) C 1, and (ear) 1 0 branch when word (eam) = (eam) C 1, and (eam) 1 0 software interrupt software interrupt software interrupt software interrupt return from interrupt at constant entry, save old frame pointer to stack, set new frame pointer, and allocate local pointer area at constant entry, retrieve old frame pointer from stack. return from subroutine return from subroutine C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C r r r r * C C C C C C C C C C C C C C s s s s * C C C C C C C C C C C C C C C C C C * C C C C * * * * * * * * * * C C C C * C C C C * * * * * * * * * * C C C C * C C C C * * * * * * * * * * C C C C * C C C C * * * * * * C C C C C C C C * C C C C C C C C C C C * C * C C C C C C C C C
117 mb90670/675 series table 20 other control instructions (byte/word/long word) [28 instructions] *1: pcb, adb, ssb, usb, and spb : 1 state dtb, dpr : 2 states *2: 7 + 3 (pop count) + 2 (last register number to be popped), 7 when rlst = 0 (no transfer register) *3: 29 + (push count) C 3 (last register number to be pushed), 8 when rlst = 0 (no transfer register) *4: pop count (c), or push count (c) mnemonic # ~ rg b operation l h a h istnzvc rm w pushwa pushwah pushwps pushwrlst popw a popw ah popw ps popw rlst jctx @a and ccr, #imm8 or ccr, #imm8 mov rp, #imm8 mov ilm, #imm8 movea rwi, ear movea rwi, eam movea a, ear movea a, eam addsp #imm8 addsp #imm16 mov a, brgl mov brg2, a nop adb dtb pcb spb ncc cmr 1 1 1 2 1 1 1 2 1 2 2 2 2 2 2+ 2 2+ 2 3 2 2 1 1 1 1 1 1 1 4 4 4 * 3 3 3 4 * 2 14 3 3 2 2 3 2+ (a) 1 1+ (a) 3 3 * 1 1 1 1 1 1 1 1 1 0 0 0 * 5 0 0 0 * 5 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 (c) (c) (c) * 4 (c) (c) (c) * 4 6 (c) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 word (sp) ? (sp) C2, ((sp)) ? (a) word (sp) ? (sp) C2, ((sp)) ? (ah) word (sp) ? (sp) C2, ((sp)) ? (ps) (sp) ? (sp) C2n, ((sp)) ? (rlst) word (a) ? ((sp)), (sp) ? ( sp) +2 word (ah) ? ((sp)), (sp) ? ( sp) +2 word (ps) ? ((sp)), (sp) ? ( sp) +2 (rlst) ? ((sp)), (sp) ? (sp) +2n context switch instruction byte (ccr) ? (ccr) and imm8 byte (ccr) ? (ccr) or imm8 byte (rp) ? imm8 byte (ilm) ? imm8 word (rwi) ? ear word (rwi) ? eam word(a) ? ear word (a) ? eam word (sp) ? (sp) +ext (imm8) word (sp) ? (sp) +imm16 byte (a) ? (brgl) byte (brg2) ? (a) no operation prefix code for accessing ad space prefix code for accessing dt space prefix code for accessing pc space prefix code for accessing sp space prefix code for no flag change prefix code for common register bank C C C C C C C C C C C C C C C C C C C z C C C C C C C C C C C C * C C C C C C C C C C * * C C * C C C C C C C C C C C C C C * C * * * C C C C C C C C C C C C C C C C C C C C C C C * C * * * C C C C C C C C C C C C C C C C C C C C C C C * C * * * C C C C C C C C C C C C C C C C C C C C C C C * C * * * C C C C C C C C * * C C C C C C C C C C C C C * C * * * C C C C C C C C * * C C C C C C C C C C C C C * C * * * C C C C C C C C C C C C C C C C C C C C C C C * C * * * C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C
mb90670/675 series 118 *5: pop count or push count. note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. table 21 bit manipulation instructions [21 instructions] *1: 8 when branching, 7 when not branching *2: 7 when branching, 6 when not branching *3: 10 when condition is satisfied, 9 when not satisfied *4: undefined count *5: until condition is satisfied note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ rg b operation l h a h istnzvc rm w movb a, dir:bp movb a, addr16:bp movb a, io:bp movb dir:bp, a movb addr16:bp, a movb io:bp, a setb dir:bp setb addr16:bp setb io:bp clrb dir:bp clrb addr16:bp clrb io:bp bbc dir:bp, rel bbc addr16:bp, rel bbc io:bp, rel bbs dir:bp, rel bbs addr16:bp, rel bbs io:bp, rel sbbs addr16:bp, rel wbts io:bp wbtc io:bp 3 4 3 3 4 3 3 4 3 3 4 3 4 5 4 4 5 4 5 3 3 5 5 4 7 7 6 7 7 7 7 7 7 * 1 * 1 * 2 * 1 * 1 * 2 * 3 * 4 * 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (b) (b) (b) 2 (b) 2 (b) 2 (b) 2 (b) 2 (b) 2 (b) 2 (b) 2 (b) 2 (b) (b) (b) (b) (b) (b) (b) 2 (b) * 5 * 5 byte (a) ? (dir:bp) b byte (a) ? (addr16:bp) b byte (a) ? (io:bp) b bit (dir:bp) b ? (a) bit (addr16:bp) b ? (a) bit (io:bp) b ? (a) bit (dir:bp) b ? 1 bit (addr16:bp) b ? 1 bit (io:bp) b ? 1 bit (dir:bp) b ? 0 bit (addr16:bp) b ? 0 bit (io:bp) b ? 0 branch when (dir:bp) b = 0 branch when (addr16:bp) b = 0 branch when (io:bp) b = 0 branch when (dir:bp) b = 1 branch when (addr16:bp) b = 1 branch when (io:bp) b = 1 branch when (addr16:bp) b = 1, bit = 1 wait until (io:bp) b = 1 wait until (io:bp) b = 0 z z z C C C C C C C C C C C C C C C C C C * * * C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * C C C C C C C C C C C C C C C * * * * * * C C C C C C * * * * * * * C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * * * * * * * C C C C C C * C C
119 mb90670/675 series table 22 accumulator manipulation instructions (byte/word) [6 instructions] table 23 string instructions [10 instructions] m: rw0 value (counter value) n: loop count *1: 5 when rw0 is 0, 4 + 7 (rw0) for count out, and 7 n + 5 when match occurs *2: 5 when rw0 is 0, 4 + 8 (rw0) in any other case *3: (b) (rw0) + (b) (rw0) when accessing different areas for the source and destination, calculate (b) separately for each. *4: (b) n *5: 2 (rw0) *6: (c) (rw0) + (c) (rw0) when accessing different areas for the source and destination, calculate (c) separately for each. *7: (c) n *8: 2 (rw0) note: for an explanation of (a) to (d), refer to table 4, number of execution cycles for each type of addressing, and table 5, correction values for number of cycles used to calculate number of actual cycles. mnemonic # ~ r g boperation l h a h istnzvc rm w swap swapw/xchw al, ah ext extw zext zextw 1 1 1 1 1 1 3 2 1 2 1 1 0 0 0 0 0 0 0 0 0 0 0 0 byte (a) 0 to 7 ? (a) 8 to 15 word (ah) ? (al) byte sign extension word sign extension byte zero extension word zero extension C C x C z C C * C x C z C C C C C C C C C C C C C C C C C C C C * * r r C C * * * * C C C C C C C C C C C C C C C C C C mnemonic # ~ r g b operation l h a h istnzvc rm w movs/movsi movsd sceq/sceqi sceqd fisl/filsi 2 2 2 2 2 * 2 * 2 * 1 * 1 6m +6 * 5 * 5 * 5 * 5 * 5 * 3 * 3 * 4 * 4 * 3 byte transfer @ah+ ? @al+, counter = rw0 byte transfer @ahC ? @alC, counter = rw0 byte retrieval (@ah+) C al, counter = rw0 byte retrieval (@ahC) C al, counter = rw0 byte filling @ah+ ? al, counter = rw0 C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * C C * * * C C * * C C C * * C C C C C C movsw/ movswi movswd scweq/ scweqi scweqd filsw/filswi 2 2 2 2 2 * 2 * 2 * 1 * 1 6m +6 * 8 * 8 * 8 * 8 * 8 * 6 * 6 * 7 * 7 * 6 word transfer @ah+ ? @al+, counter = rw0 word transfer @ahC ? @alC, counter = rw0 word retrieval (@ah+) C al, counter = rw0 word retrieval (@ahC) C al, counter = rw0 word filling @ah+ ? al, counter = rw0 C C C C C C C C C C C C C C C C C C C C C C C C C C C * * * C C * * * C C * * C C C * * C C C C C C
mb90670/675 series 120 n mask options ? mb90670 series ? mb90675 series notes: ? the pull-up register configured as a port pin is switched-off in the stop mode and during the hardware standby. ? in turning on power, option settings can not be made until clocks are supplied because 8 machine cycles are needed for option settings for the mb90p670/p675. no. part number mb90671 MB90672 mb90673 mb90p673 mb90v670 specifying procedure specify when ordering masking set with eprom programmer setting not possible 1 pull-up resistors p00 to p07, p10 to p17, p20 to p27, p30 to p37, p40 to p47, p60 to p67, p70 to p77, p80, rst , md1, md0 specify by pin specify by pin without pull-up resistor 2 pull-down resistors md1, md0 specify by pin specify by pin without pull-up resistor no. part number mb90676 mb90677 mb90678 mb90p678 mb90v670 specifying procedure specify when ordering masking set with eprom programmer setting not possible 1 pull-up resistors p00 to p07, p10 to p17, p20 to p27, p30 to p37, p40 to p47, p60 to p67, p70 to p77, p80 to p86, p90, p91, pa0 to pa7, pb0 to pb2, rst , md1, md0 specify by pin specify by pin without pull-up resistor 2 pull-down resistors md1, md0 specify by pin specify by pin without pull-up resistor
121 mb90670/675 series n ordering information part number package remarks mb90671pfv MB90672pfv mb90673pfv mb90t673pfv mb90p673pfv 80-pin plastic lqfp (fpt-80p-m05) mb90671pf MB90672pf mb90673pf mb90t673pf mb90p673pf 80-pin plastic qfp (fpt-80p-m06) mb90676pfv mb90677pfv mb90678pfv mb90t678pfv mb90p678pfv 100-pin plastic lqfp (fpt-100p-m05) mb90676pf mb90677pf mb90678pf mb90t678pf mb90p678pf 100-pin plastic qfp (fpt-100p-m06)
mb90670/675 series 122 n package dimensions "a" lead no. (.031.008) 0.800.20 0.30(.012) 0.25(.010) 80 65 64 41 40 25 24 1 22.300.40(.878.016) 18.40(.724)ref m 0.16(.006) (.014.004) 0.350.10 0.80(.0315)typ (.705.016) (.551.008) 14.000.20 17.900.40 20.000.20(.787.008) 23.900.40(.941.016) index 0.150.05(.006.002) (stand off) 0.05(.002)min 3.35(.132)max (.642.016) 16.300.40 ref 12.00(.472) details of "b" part 0 10 details of "a" part 0.18(.007)max 0.58(.023)max 0.10(.004) "b" 1994 fujitsu limited f80010s-3c-2 c (mounting height) c 1995 fujitsu limited f80008s-2c-5 0.10(.004) 0.500.20(.020.008) 0.100.10 (.004.004) details of "a" part 0 10? 14.000.20(.551.008)sq 12.000.10(.472.004)sq 9.50 13.00 (.374) ref (.512) nom 0.500.08 (.0197.0031) .007 ?.001 +.003 ?0.03 +0.08 0.18 .005 ?.001 +.002 ?0.02 +0.05 0.127 .059 ?.004 +.008 ?0.10 +0.20 1.50 "a" 80 1 20 21 41 60 61 40 index (stand off) lead no. (mounting height) 80-pin plastic lqfp (fpt-80p-m05) 80-pin plastic qfp (fpt-80p-m06) dimensions in mm (inches) dimensions in mm (inches)
123 mb90670/675 series (.031.008) 0.800.20 lead no. (.012.004) 0.300.10 0.65(.0256)typ 0.30(.012) 0.25(.010) 100 81 80 51 50 31 30 1 22.300.40(.878.016) 18.85(.742)ref m 0.13(.005) (.705.016) (.551.008) 14.000.20 17.900.40 20.000.20(.787.008) 23.900.40(.941.016) index 0.150.05(.006.002) (stand off) 0.05(.002)min 3.35(.132)max (.642.016) 16.300.40 ref 12.35(.486) details of "b" part 0 10 details of "a" part 0.18(.007)max 0.53(.021)max 0.10(.004) "b" "a" 1994 fujitsu limited f100008-3c-2 c (mounting height) c 1995 fujitsu limited f100007s-2c-3 details of "b" part 16.000.20(.630.008)sq 14.000.10(.551.004)sq 0.50(.0197)typ .007 ?.001 +.003 ?0.03 +0.08 0.18 index 0.10(.004) 0.08(.003) m .059 ?.004 +.008 ?0.10 +0.20 1.50 .005 ?.001 +.002 ?0.02 +0.05 0.127 15.00 12.00 (.472) ref (.591) nom "b" "a" 25 26 1 100 75 51 50 76 0.500.20(.020.008) details of "a" part 0.40(.016)max 0.15(.006)max 0.15(.006) 0.15(.006) 0.100.10 (.004.004) (stand off) 0~10? lead no. (mounting height) 100-pin plastic lqfp (fpt-100p-m05) 100-pin plastic qfp (fpt-100p-m06) dimensions in mm (inches) dimensions in mm (inches)
mb90670/675 series 124 fujitsu limited for further information please contact: japan fujitsu limited corporate global business support division electronic devices kawasaki plant, 4-1-1, kamikodanaka nakahara-ku, kawasaki-shi kanagawa 211-8588, japan tel: 81(44) 754-3763 fax: 81(44) 754-3329 http://www.fujitsu.co.jp/ north and south america fujitsu microelectronics, inc. semiconductor division 3545 north first street san jose, ca 95134-1804, usa tel: (408) 922-9000 fax: (408) 922-9179 customer response center mon. - fri.: 7 am - 5 pm (pst) tel: (800) 866-8608 fax: (408) 922-9179 http://www.fujitsumicro.com/ europe fujitsu mikroelektronik gmbh am siebenstein 6-10 d-63303 dreieich-buchschlag germany tel: (06103) 690-0 fax: (06103) 690-122 http://www.fujitsu-ede.com/ asia pacific fujitsu microelectronics asia pte ltd #05-08, 151 lorong chuan new tech park singapore 556741 tel: (65) 281-0770 fax: (65) 281-0220 http://www.fmap.com.sg/ f9811 ? fujitsu limited printed in japan all rights reserved. the contents of this document are subject to change without notice. customers are advised to consult with fujitsu sales representatives before ordering. the information and circuit diagrams in this document are presented as examples of semiconductor device applications, and are not intended to be incorporated in devices for actual use. also, fujitsu is unable to assume responsibility for infringement of any patent rights or other rights of third parties arising from the use of this information or circuit diagrams. fujitsu semiconductor devices are intended for use in standard applications (computers, office automation and other office equipment, industrial, communications, and measurement equipment, personal or household devices, etc.). caution: customers considering the use of our products in special applications where failure or abnormal operation may directly affect human lives or cause physical injury or property damage, or where extremely high levels of reliability are demanded (such as aerospace systems, atomic energy controls, sea floor repeaters, vehicle operating controls, medical devices for life support, etc.) are requested to consult with fujitsu sales representatives before such use. the company will not be responsible for damages arising from such use without prior approval. any semiconductor devices have an inherent chance of failure. you must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. if any products described in this document represent goods or technologies subject to certain restrictions on export under the foreign exchange and foreign trade law of japan, the prior authorization by japanese government will be required for export of those products from japan.


▲Up To Search▲   

 
Price & Availability of MB90672

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X